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

The AMI_CatModule_FormAdm class

AMI_ModComponent
   |
   --AMI_ModForm
      |
      --AMI_ModFormAdm
         |
         --AMI_Module_FormAdm
            |
            --AMI_CatModule_FormAdm

• Introduction

AMI_CatModule module admin form component action controller.

• Class synopsis

AMI_CatModule_FormAdm extends AMI_Module_FormAdm {
/* Inherited Constants */
// Flag specified that save is failed.
// Flag specified that save is succeed.
/* Inherited Properties */
// Array of actions processed by form
protected AMI_ModForm::$aActions = array('display', 'edit', 'save', 'show');
// File factory resource id
protected AMI_ModForm::$fileFactoryResId = 'env/file';
// Table item model
protected AMI_ModForm::$oItem;
// Flag specifying to use model
protected AMI_ModComponent::$useModel = TRUE;
/* Inherited Methods */
// Repair counters for first created category.
public AMI_Module_FormAdm::handleRepairCounters ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Save model item handler.
public AMI_Module_FormAdm::handleSaveModelItem ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Initialization.
// Display action handler.
public AMI_ModForm::dispatchDisplay ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Edit action handler.
public AMI_ModForm::dispatchEdit ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Save action handler.
public AMI_ModForm::dispatchSave ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Show action handler.
public AMI_ModForm::dispatchShow ( string $name, $aEvent, string $handlerModId, string $srcModId ) returns array;
// Returns component type.
public AMI_ModForm::getType ( ) returns string;
// Returns component view.
// Initialization.
public AMI_ModForm::init ( ) returns AMI_ModForm;
// Returns true if component needs to be started always in full environment.
public AMI_ModForm::isFullEnv ( ) returns bool;
// Save action dispatcher.
public AMI_ModForm::_save ( &$aEvent ) returns void;
// Returns module file storage path.
protected AMI_ModForm::getFileStoragePath ( ) returns string;
// Returns uploaded file codes.
protected AMI_ModForm::getUploadedFileCodes ( ) returns array;
// Do something when data is not saved and exception is called.
protected AMI_ModForm::onSaveException ( $aEvent ) returns array;
// Edit action dispatcher.
protected AMI_ModForm::_edit ( &$aEvent ) returns void;
// Returns true if component needs to be started always in full environment.
public AMI_ModComponent::isFullEnv ( ) returns bool;
// Sets module id.
public AMI_ModComponent::setModId ( string $modId ) returns AMI_ModComponent;
// Returns module id.
protected AMI_ModComponent::getModId ( ) returns string;
// Returns serial id.
protected AMI_ModComponent::getSerialId ( ) returns string;
// Initializes model.
protected AMI_ModComponent::initModel ( ) returns AMI_ModTable|null;
}
Tags:
abstract
since 5.14.4