![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct ($key= '', $title= '', $icon= '') | |
setIcon ($icon) | |
getIcon () | |
getIconWidth () | |
setIconWidth ($iconWidth) | |
getIconHeight () | |
setIconHeight ($iconHeight) | |
setKey ($key) | |
getKey () | |
setTitle ($title) | |
getTitle () | |
setVersion ($version) | |
setVersionFromString ($version) | |
getVersion () | |
setUpdateResult ($updateResult) | |
getUpdateResult () | |
toArray () | |
Protected Attributes | |
$key = '' | |
$title = '' | |
$icon = '' | |
$iconWidth = 28 | |
$iconHeight = 28 | |
$version = '' | |
$updateResult = array() | |
Additional Inherited Members | |
![]() | |
isPropertyDirty ($previousValue, $currentValue) | |
Extension model
Definition at line 20 of file lang/Classes/Domain/Model/Extension.php.
__construct | ( | $key = '' , |
|
$title = '' , |
|||
$icon = '' |
|||
) |
Constructor of the extension model.
string | $key | The extension key |
string | $title | Title of the extension |
string | $icon | Icon representing the extension |
Definition at line 64 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$icon, Extension\$key, Extension\$title, Extension\setIcon(), Extension\setKey(), and Extension\setTitle().
getIcon | ( | ) |
Getter for the icon
Definition at line 87 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$icon.
Referenced by Extension\toArray().
getIconHeight | ( | ) |
Definition at line 111 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$iconHeight.
Referenced by Extension\toArray().
getIconWidth | ( | ) |
Definition at line 95 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$iconWidth.
Referenced by Extension\toArray().
getKey | ( | ) |
Getter for the key
Definition at line 140 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$key.
Referenced by Extension\toArray().
getTitle | ( | ) |
Getter for the title
Definition at line 161 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$title.
Referenced by Extension\toArray().
getUpdateResult | ( | ) |
Getter for updateResult
Definition at line 215 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$updateResult.
getVersion | ( | ) |
Getter for the version
Definition at line 194 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$version.
Referenced by Extension\toArray().
setIcon | ( | $icon | ) |
Setter for the icon
string | $icon | ext_icon path relative to typo3 folder like ../typo3conf/ext/extensionkey/ext_icon.png |
Definition at line 77 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$icon.
Referenced by Extension\__construct().
setIconHeight | ( | $iconHeight | ) |
int | $iconHeight |
Definition at line 119 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$iconHeight.
setIconWidth | ( | $iconWidth | ) |
int | $iconWidth |
Definition at line 103 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$iconWidth.
setKey | ( | $key | ) |
Setter for the key
string | $key |
Definition at line 130 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$key.
Referenced by Extension\__construct().
setTitle | ( | $title | ) |
Setter for the title
string | $title |
Definition at line 151 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$title.
Referenced by Extension\__construct().
setUpdateResult | ( | $updateResult | ) |
Setter for updateResult
array | $updateResult | Needs to be in a structure like array('icon' => '', 'message' => '') |
Definition at line 205 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$updateResult.
setVersion | ( | $version | ) |
Setter for the version
int | $version | Needs to have a valid version format like 1003007 |
Definition at line 172 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$version.
setVersionFromString | ( | $version | ) |
Setter for the version from string
string | $version | Needs to have a format like '1.3.7' and converts it into an integer like 1003007 before setting the version |
Definition at line 184 of file lang/Classes/Domain/Model/Extension.php.
References Extension\$version.
toArray | ( | ) |
Returns an array represetation of current model
Definition at line 225 of file lang/Classes/Domain/Model/Extension.php.
References Extension\getIcon(), Extension\getIconHeight(), Extension\getIconWidth(), Extension\getKey(), Extension\getTitle(), and Extension\getVersion().
|
protected |
Definition at line 35 of file lang/Classes/Domain/Model/Extension.php.
Referenced by Extension\__construct(), Extension\getIcon(), and Extension\setIcon().
|
protected |
Definition at line 45 of file lang/Classes/Domain/Model/Extension.php.
Referenced by Extension\getIconHeight(), and Extension\setIconHeight().
|
protected |
Definition at line 40 of file lang/Classes/Domain/Model/Extension.php.
Referenced by Extension\getIconWidth(), and Extension\setIconWidth().
|
protected |
Definition at line 25 of file lang/Classes/Domain/Model/Extension.php.
Referenced by Extension\__construct(), Extension\getKey(), and Extension\setKey().
|
protected |
Definition at line 30 of file lang/Classes/Domain/Model/Extension.php.
Referenced by Extension\__construct(), Extension\getTitle(), and Extension\setTitle().
|
protected |
Definition at line 55 of file lang/Classes/Domain/Model/Extension.php.
Referenced by Extension\getUpdateResult(), and Extension\setUpdateResult().
|
protected |
Definition at line 50 of file lang/Classes/Domain/Model/Extension.php.
Referenced by Extension\getVersion(), Extension\setVersion(), and Extension\setVersionFromString().