PHP Class GcContent\Form\Document

Inheritance: extends Gc\Form\AbstractForm
ファイルを表示 Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$properties array Properties cache
$tabs array Tabs cache

Public Methods

Method 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 method

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

load() public method

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
return array

loadProperties() public method

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
return array

loadTabs() public method

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

Property Details

$properties protected_oe property

Properties cache
protected array $properties
return array

$tabs protected_oe property

Tabs cache
protected array $tabs
return array