PHP Class GcContent\Form\Document

Inheritance: extends Gc\Form\AbstractForm
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Свойство Type Description
$properties array Properties cache
$tabs array Tabs cache

Méthodes publiques

Méthode Description
init ( string $url = null ) : void Initialize document form
load ( integer $documentTypeId, Model $document, Zend\ServiceManager\ServiceManager $serviceLocator ) : array Load properties from document type, tab and document
loadProperties ( integer $documentTypeId, integer $tabId, integer $documentId ) : array Load properties from document type, tab and document
loadTabs ( integer $documentTypeId ) : array Load tabs from document type

Method Details

init() public méthode

Initialize document form
public init ( string $url = null ) : void
$url string Url for the action
Résultat void

load() public méthode

Load properties from document type, tab and document
public load ( integer $documentTypeId, Model $document, Zend\ServiceManager\ServiceManager $serviceLocator ) : array
$documentTypeId integer Document type id
$document Gc\Document\Model Document model
$serviceLocator Zend\ServiceManager\ServiceManager Service manager
Résultat array

loadProperties() public méthode

Load properties from document type, tab and document
public loadProperties ( integer $documentTypeId, integer $tabId, integer $documentId ) : array
$documentTypeId integer Document type id
$tabId integer Tab id
$documentId integer Document id
Résultat array

loadTabs() public méthode

Load tabs from document type
public loadTabs ( integer $documentTypeId ) : array
$documentTypeId integer Document type id
Résultat array

Property Details

$properties protected_oe property

Properties cache
protected array $properties
Résultat array

$tabs protected_oe property

Tabs cache
protected array $tabs
Résultat array