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

The Hyper_AmiClean_FilterViewAdm class

AMI_View
   |
   --AMI_ModPlaceholderView
      |
      --AMI_ModFormView
         |
         --AMI_ModFilterView
            |
            --AMI_ModFilterViewAdm
               |
               --Hyper_AmiClean_FilterViewAdm

• Introduction

Base hypermodule admin filter component view.

• Class synopsis

Hyper_AmiClean_FilterViewAdm extends AMI_ModFilterViewAdm {
/* Inherited Constants */
// Tab state
const AMI_ModFormView::TAB_STATE_ACTIVE =  'active';
// Tab state
const AMI_ModFormView::TAB_STATE_COMMON =  'normal';
// Tab state
const AMI_ModFormView::TAB_STATE_DISABLED =  'disabled';
/* Inherited Properties */
// Filter default elemnts template (placeholders)
protected AMI_ModFilterView::$aPlaceholders = array( '#filter', 'id_page', 'category', 'datefrom', 'dateto', 'header', 'sticky', 'filter' );
// View type
protected AMI_ModFilterView::$viewType = 'form_filter';
// Placeholders custom data array.
// Locale
protected AMI_View::$aLocale = array();
// Scope
protected AMI_View::$aScope = array();
// Locale file name
protected AMI_View::$localeFileName = '';
// Model
protected AMI_View::$oModel = null;
// Template block name
protected AMI_View::$tplBlockName = '';
// Template file name
protected AMI_View::$tplFileName = '';
/* Inherited Methods */
// Setting up Model item object.
// Sets 'path' scope variable displaying under filter form.
protected AMI_ModFilterView::setPath ( ) returns void;
// Model typification.
protected AMI_ModFilterView::_setModel ( object $oModel ) returns AMI_ModFilterView;
// Constructor.
public AMI_ModFormView::__construct ( ) returns AMI_ModFormView;
// Add new field into fields array.
public AMI_ModFormView::addField ( $aField ) returns AMI_ModFormView;
// Add fields section.
public AMI_ModFormView::addSection ( string $name, [ string $position = '' ], [ string|array $displayByAction = NULL ] ) returns false|AMI_ModFormView;
// Add a tab to the tab container. See AMI_ModFormView::addTabContainer() for usage example.
public AMI_ModFormView::addTab ( string $name, string $container, [ string $state = self::TAB_STATE_COMMON ], [ string $position = '' ], [ string $displayByAction = NULL ] ) returns AMI_ModFormView;
// Add a tab container on the form.
public AMI_ModFormView::addTabContainer ( string $name, [ string $position = '' ] ) returns AMI_ModFormView;
// Merges specified template with current one. New sets will be added, exisiting sets will be overwritten.
public AMI_ModFormView::addTemplate ( string $path, [ string $placeholderName = null ], [ $aLocale = null ] ) returns AMI_ModFormView;
// Drop field from fields array.
public AMI_ModFormView::dropField ( string $fieldName ) returns AMI_ModFormView;
// Drop the tab from the tab container.
public AMI_ModFormView::dropTab ( string $name, [ string $container = '' ] ) returns AMI_ModFormView;
// Returns view data.
public AMI_ModFormView::get ( ) returns string;
// Allows change field at displaying form.
public AMI_ModFormView::getFieldScope ( mixed &$aField ) returns void;
// Initialize fields.
public AMI_ModFormView::init ( ) returns AMI_View;
// Set field data to render field.
public AMI_ModFormView::setFieldData ( string $name, mixed $data ) returns AMI_ModFormView;
// Setting up model item object.
public AMI_ModFormView::setModelItem ( $oItem ) returns AMI_ModFormView;
// Constructor.
public AMI_ModPlaceholderView::__construct ( ) returns AMI_ModPlaceholderView;
// Add new field placeholders into placeholder list using AMI_ModPlaceholderView::putPlaceholder() without sections.
// Puts placeholder into required position.
public AMI_ModPlaceholderView::putPlaceholder ( string $name, [ string $positions = '' ], [ bool $isSection = false ] ) returns bool|int;
// Constructor.
public AMI_View::__construct ( ) returns AMI_View;
// Adds locale.
public AMI_View::addLocale ( $aLocale, [ bool $doOverwrite = true ] ) returns AMI_View;
// Adds script code.
public AMI_View::addScriptCode ( string $code ) returns AMI_View;
// Adds script file.
public AMI_View::addScriptFile ( string $file ) returns AMI_View;
// Returns view data.
public AMI_View::get ( ) returns mixed;
// Initialize, processing after setting model.
public AMI_View::init ( ) returns AMI_View;
// Adds locale from resource.
public AMI_View::setModel ( mixed $oModel, [ $aLocale = array() ], string $path ) returns AMI_View;
// Set module id.
public AMI_View::setModId ( string $modId ) returns void;
// Sets view scope.
public AMI_View::setScope ( $aScope ) returns AMI_View;
protected AMI_View::addOpenGraphTags ( $header, $description, [ $image = '' ] ) returns void;
// Returns module id.
protected AMI_View::getModId ( ) returns string;
// Returns module specific locale path.
protected AMI_View::getModLocalePath ( ) returns string;
// Returns prepared view scope.
protected AMI_View::getScope ( string $type, [ $aScope = array() ] ) returns array;
// Returns template object.
protected AMI_View::getTemplate ( ) returns AMI_iTemplate;
// Parses block template and returns the result as a string.
protected AMI_View::parse ( string $setName, [ $aScope = array() ] ) returns string;
// Sets up model object.
protected AMI_View::_setModel ( mixed $oModel ) returns AMI_View;
}
Tags:
abstract
since 6.0.2