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

The Hyper_AmiClean_Meta class

AMI_Hyper_Meta
   |
   --Hyper_AmiClean_Meta

• Introduction

Base hypermodule metadata.

• Class synopsis

Hyper_AmiClean_Meta extends AMI_Hyper_Meta {
/* Properties */
// Array having locales as keys and meta data as values
protected array $aInfo = array( 'en' => array( // 'description' => '', 'author' => '<a href="http://www.amirocms.com" target="_blank">Amiro.CMS</a>' ),'ru'=>array(// 'description' => '', 'author'=>'<a href="http://www.amiro.ru" target="_blank">Amiro.CMS</a>'));
// Array having locales as keys and captions as values
protected array $aTitle = array( 'en' => 'Base', 'ru' => 'Базовый' );
// Version
protected string $version = '1.0';
/* Inherited Properties */
// Array of hypermodule meta data
// Flag specifying that hypermodule configs can have only one instance per config
/* Inherited Methods */
// Retrurns allowed installation/uninstallation modes.
public AMI_Hyper_Meta::getAllowedModes ( [ string $type = '' ] ) returns array;
// Returns hypermodule meta data.
public AMI_Hyper_Meta::getData ( [ string $key = null ] ) returns string;
// Returns hypermodule info.
public AMI_Hyper_Meta::getInfo ( string $locale ) returns string;
// Returns hypermodule / config title.
public AMI_Hyper_Meta::getTitle ( string $locale ) returns string;
// Returns hypermodule version.
public AMI_Hyper_Meta::getVersion ( ) returns string;
// Returns hypermodule instantiate flag value.
public AMI_Hyper_Meta::isSingleInstance ( ) returns bool;
// Set hypermodule meta data.
public AMI_Hyper_Meta::setData ( string $key, mixed $value ) returns void;
}
Tags:
since 6.0.2

• Class Properies

protected array $aInfo

Array having locales as keys and meta data as values

protected array $aTitle

Array having locales as keys and captions as values

protected string $version

Version