TYPO3
7.6
|
Public Member Functions | |
__construct () | |
getLanguage () | |
setLanguage ($language) | |
getTitle () | |
setTitle ($title) | |
getDescription () | |
setDescription ($description) | |
addFormat (\TYPO3\CMS\Documentation\Domain\Model\DocumentFormat $format) | |
removeFormat (\TYPO3\CMS\Documentation\Domain\Model\DocumentFormat $formatToRemove) | |
getFormats () | |
setFormats (\TYPO3\CMS\Extbase\Persistence\ObjectStorage $formats) | |
Protected Member Functions | |
initStorageObjects () | |
Protected Attributes | |
$language | |
$title | |
$description | |
$formats | |
An extension helper model to be used in ext:documentation context
Definition at line 22 of file DocumentTranslation.php.
__construct | ( | ) |
Default constructor.
Definition at line 57 of file DocumentTranslation.php.
References DocumentTranslation\initStorageObjects().
addFormat | ( | \TYPO3\CMS\Documentation\Domain\Model\DocumentFormat | $format | ) |
Adds a documentation format.
\TYPO3\CMS\Documentation\Domain\Model\DocumentFormat | $format |
Definition at line 150 of file DocumentTranslation.php.
getDescription | ( | ) |
Returns the description.
Definition at line 127 of file DocumentTranslation.php.
References DocumentTranslation\$description.
getFormats | ( | ) |
Returns the formats.
Definition at line 173 of file DocumentTranslation.php.
References DocumentTranslation\$formats.
getLanguage | ( | ) |
Returns the language.
Definition at line 83 of file DocumentTranslation.php.
References DocumentTranslation\$language.
getTitle | ( | ) |
Returns the title.
Definition at line 105 of file DocumentTranslation.php.
References DocumentTranslation\$title.
|
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 DocumentTranslation.php.
Referenced by DocumentTranslation\__construct().
removeFormat | ( | \TYPO3\CMS\Documentation\Domain\Model\DocumentFormat | $formatToRemove | ) |
Removes a documentation format.
\TYPO3\CMS\Documentation\Domain\Model\DocumentFormat | $formatToRemove | The DocumentFormat to be removed |
Definition at line 162 of file DocumentTranslation.php.
setDescription | ( | $description | ) |
Sets the description.
string | $description |
Definition at line 138 of file DocumentTranslation.php.
References DocumentTranslation\$description.
setFormats | ( | \TYPO3\CMS\Extbase\Persistence\ObjectStorage | $formats | ) |
Sets the formats.
\TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Documentation\Domain\Model\DocumentFormat> | $formats |
Definition at line 184 of file DocumentTranslation.php.
References DocumentTranslation\$formats.
setLanguage | ( | $language | ) |
Sets the language.
string | $language |
Definition at line 94 of file DocumentTranslation.php.
References DocumentTranslation\$language.
setTitle | ( | $title | ) |
Sets the title.
string | $title |
Definition at line 116 of file DocumentTranslation.php.
References DocumentTranslation\$title.
|
protected |
Definition at line 45 of file DocumentTranslation.php.
Referenced by DocumentTranslation\getDescription(), and DocumentTranslation\setDescription().
|
protected |
Definition at line 52 of file DocumentTranslation.php.
Referenced by DocumentTranslation\getFormats(), and DocumentTranslation\setFormats().
|
protected |
Definition at line 31 of file DocumentTranslation.php.
Referenced by DocumentTranslation\getLanguage(), and DocumentTranslation\setLanguage().
|
protected |
Definition at line 38 of file DocumentTranslation.php.
Referenced by DocumentTranslation\getTitle(), and DocumentTranslation\setTitle().