Amiro.CMS API Reference
Amiro.Ru / Manual
Loading search...

The AmiSample_State class

AMI_ModState
   |
   --AmiSample_State

• Introduction

Sample module model.

• Class synopsis

AmiSample_State extends AMI_ModState {
/* Inherited Methods */
// Returns module id.
public AMI_ModState::getModId ( ) returns string;
// Returns module option value.
public AMI_ModState::getOption ( string $name ) returns mixed;
// Returns true if module option is set and is true.
public AMI_ModState::issetAndTrueOption ( string $name ) returns bool;
// Returns module option presence.
public AMI_ModState::issetOption ( string $name ) returns bool;
// Returns state source module id.
protected AMI_ModState::getStateSourceModId ( ) returns string;
}
Tags:
since 5.12.0
resource ami_sample/module/model AMI::getResourceModel('ami_sample/module')