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

The AmiMultifeeds_NewsCat_TableItemModifier class

AMI_ModTableItemModifier
   |
   --AMI_Module_TableItemModifier
      |
      --AMI_CatModule_TableItemModifier
         |
         --Hyper_AmiMultifeeds_Cat_TableItemModifier
            |
            --AmiMultifeeds_NewsCat_TableItemModifier

• Introduction

AmiMultifeeds/News configuration category table item model modifier.

• Class synopsis

AmiMultifeeds_NewsCat_TableItemModifier extends Hyper_AmiMultifeeds_Cat_TableItemModifier {
/* Inherited Properties */
// Filed name storing category id in items table
// Module table model
// Module table item model
// Validator exception on item saving
/* Inherited Methods */
// Deletes item from table.
public AMI_CatModule_TableItemModifier::delete ( [ mixed $id = null ] ) returns bool;
// Saves current item data.
// 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}_cat/table/model/item/modifier AMI::getResourceModel('{$modId}_cat/table')->getItem()->getModifier()*