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

The AmiMultifeeds_Faq_TableItemModifier class

AMI_ModTableItemModifier
   |
   --AMI_Module_TableItemModifier
      |
      --Hyper_AmiMultifeeds_TableItemModifier
         |
         --AmiMultifeeds_Faq_TableItemModifier

• Introduction

AmiMultifeeds/FAQ configuration table item model modifier.

• Class synopsis

AmiMultifeeds_Faq_TableItemModifier extends Hyper_AmiMultifeeds_TableItemModifier {
/* Properties */
// Model meta data processor.
protected string $metaResId = 'faq/table/item/model/meta';
/* Inherited Properties */
// Module table model
// Module table item model
// Validator exception on item saving
/* Inherited Methods */
// Constructor.
public AMI_ModTableItemModifier::__construct ( $oTable, $oTableItem ) returns AMI_ModTableItemModifier;
// Deletes item from table.
public AMI_ModTableItemModifier::delete ( [ mixed $id = null ] ) returns bool;
// Returns default fields and its values on save.
public AMI_ModTableItemModifier::getDefaultsOnSave ( bool $onCreate ) returns array;
// Returns validator exception object validator after save or null.
// Calls when validation failed.
public AMI_ModTableItemModifier::rollback ( $aData, bool $onCreate ) returns void;
// Allows change data model before create / update item.
public AMI_ModTableItemModifier::save ( ) returns void;
// Validates item data.
public AMI_ModTableItemModifier::validate ( $aData, bool $onCreate ) returns AMI_ModTableItemModifier;
}
Tags:
since 6.0.2
resource {$modId}/table/model/item/modifier AMI::getResourceModel('{$modId}/table')->getItem()->getModifier()*

• Class Properies

protected string $metaResId

Model meta data processor.