TYPO3
7.6
|
Public Member Functions | |
__construct () | |
getPackageKey () | |
setPackageKey ($packageKey) | |
getExtensionKey () | |
setExtensionKey ($extensionKey) | |
getIcon () | |
setIcon ($icon) | |
addTranslation (\TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation $translation) | |
removeTranslation (\TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation $translationToRemove) | |
getTranslations () | |
setTranslations (\TYPO3\CMS\Extbase\Persistence\ObjectStorage $translations) | |
Protected Member Functions | |
initStorageObjects () | |
Protected Attributes | |
$packageKey | |
$extensionKey | |
$icon | |
$translations | |
An extension helper model to be used in ext:documentation context
Definition at line 22 of file Domain/Model/Document.php.
__construct | ( | ) |
Default constructor.
Definition at line 57 of file Domain/Model/Document.php.
References Document\initStorageObjects().
addTranslation | ( | \TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation | $translation | ) |
Adds a document translation.
\TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation | $translation |
Definition at line 150 of file Domain/Model/Document.php.
getExtensionKey | ( | ) |
Returns the extension key.
Definition at line 105 of file Domain/Model/Document.php.
References Document\$extensionKey.
getIcon | ( | ) |
Returns the icon.
Definition at line 127 of file Domain/Model/Document.php.
References Document\$icon.
getPackageKey | ( | ) |
Returns the package key.
Definition at line 83 of file Domain/Model/Document.php.
References Document\$packageKey.
getTranslations | ( | ) |
Returns the translations.
Definition at line 173 of file Domain/Model/Document.php.
References Document\$translations.
|
protected |
Initializes all ObjectStorage properties.
Do not modify this method! It will be rewritten on each save in the extension builder You may modify the constructor of this class instead
Definition at line 68 of file Domain/Model/Document.php.
Referenced by Document\__construct().
removeTranslation | ( | \TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation | $translationToRemove | ) |
Removes a document translation.
\TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation | $translationToRemove | The DocumentTranslation to be removed |
Definition at line 162 of file Domain/Model/Document.php.
setExtensionKey | ( | $extensionKey | ) |
Sets the extension key.
string | $extensionKey |
Definition at line 116 of file Domain/Model/Document.php.
References Document\$extensionKey.
setIcon | ( | $icon | ) |
Sets the icon.
string | $icon |
Definition at line 138 of file Domain/Model/Document.php.
References Document\$icon.
setPackageKey | ( | $packageKey | ) |
Sets the package key.
string | $packageKey |
Definition at line 94 of file Domain/Model/Document.php.
References Document\$packageKey.
setTranslations | ( | \TYPO3\CMS\Extbase\Persistence\ObjectStorage | $translations | ) |
Sets the translations.
\TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation> | $translations |
Definition at line 184 of file Domain/Model/Document.php.
References Document\$translations.
|
protected |
Definition at line 38 of file Domain/Model/Document.php.
Referenced by Document\getExtensionKey(), and Document\setExtensionKey().
|
protected |
Definition at line 45 of file Domain/Model/Document.php.
Referenced by Document\getIcon(), and Document\setIcon().
|
protected |
Definition at line 30 of file Domain/Model/Document.php.
Referenced by Document\getPackageKey(), and Document\setPackageKey().
|
protected |
Definition at line 52 of file Domain/Model/Document.php.
Referenced by Document\getTranslations(), and Document\setTranslations().