PHP Класс GcContent\Form\Document

Наследование: extends Gc\Form\AbstractForm
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$properties array Properties cache
$tabs array Tabs cache

Открытые методы

Метод Описание
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

Описание методов

init() публичный Метод

Initialize document form
public init ( string $url = null ) : void
$url string Url for the action
Результат void

load() публичный Метод

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
Результат array

loadProperties() публичный Метод

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
Результат array

loadTabs() публичный Метод

Load tabs from document type
public loadTabs ( integer $documentTypeId ) : array
$documentTypeId integer Document type id
Результат array

Описание свойств

$properties защищенное свойство

Properties cache
protected array $properties
Результат array

$tabs защищенное свойство

Tabs cache
protected array $tabs
Результат array