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

The AMI_ModEmptyView class

AMI_View
   |
   --AMI_ModEmptyView

• Introduction

Module front category empty body type view.

• Class synopsis

AMI_ModEmptyView extends AMI_View {
/* Properties */
// Template engine object
protected AMI_Template $oTpl = null;
// Template empty item set
protected string $tplItemEmptySet = 'body_empty';
/* Inherited Properties */
// 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 = '';
/* Methods */
// Constructor.
public __construct ( ) returns AMI_ModEmptyView;
// Returns view data.
public get ( ) returns string;
// Applies simple sets to specified simple items on frontend.
protected applySimpleSetsCB ( &$aItemData, &$aData ) returns void;
// Create links offset.
protected createLinksOffset ( ) returns AMI_ModItemsView;
// Generates navigation data.
protected getNavDataCB ( &$aItemData, &$aData ) returns void;
// Fill the field callbacks.
protected prepareFieldCallbacks ( ) returns void;
/* Inherited Methods */
// 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 5.14.8

• Class Properies

protected AMI_Template $oTpl

Template engine object

protected string $tplItemEmptySet

Template empty item set

• Class Methods

// Constructor.
public __construct ( ) returns AMI_ModEmptyView;

Overrides: AMI_View::__construct().

Overridden in child classes as: Hyper_AmiMultifeeds_EmptyViewFrn::__construct().

// Returns view data.
public get ( ) returns string;

Overrides: AMI_View::get().

// Applies simple sets to specified simple items on frontend.
protected applySimpleSetsCB ( &$aItemData, &$aData ) returns void;
  • array &$aItemData
    Item data
  • array &$aData
    List data
// Create links offset.
protected createLinksOffset ( ) returns AMI_ModItemsView;
// Generates navigation data.
protected getNavDataCB ( &$aItemData, &$aData ) returns void;
  • array &$aItemData
    Item data
  • array &$aData
    List data
// Fill the field callbacks.
protected prepareFieldCallbacks ( ) returns void;