PHP Класс Newscoop\Entity\Theme

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

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

Свойство Тип Описание
$description string
$designer string
$minorNewscoopVersion string
$name string
$path string
$version string

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

Метод Описание
getDescription ( ) : string Provides the desciption of the theme.
getDesigner ( ) : string Provides the designer name of the theme.
getInstalledVersion ( )
getMinorNewscoopVersion ( ) : string Provides the minimum newscoop version for this theme, this has to be a whell formated version name like '3.6'.
getName ( ) : string Provides the name of the theme, must be a user frendly name used for displaying it on the UI.
getPath ( ) : string Provides the path of the theme.
getVersion ( ) : string Provides the version of the theme, this has to be a whell formated version name like '1.3'.
isInstalled ( ) * ---------------------------------------------------------------
setDescription ( string $description ) : Newscoop\Entity\Theme Set the desciption of the theme.
setDesigner ( string $designer ) : Newscoop\Entity\Theme Set the designer name of the theme.
setMinorNewscoopVersion ( string $minorNewscoopVersion ) : Newscoop\Entity\Theme Set the minimum newscoop version for this theme, this has to be a whell formated version name like '3.6'.
setName ( string $name ) : Newscoop\Entity\Theme Set the name of the theme, must be a user frendly name used for displaying it on the UI.
setPath ( string $path ) : Newscoop\Entity\Theme Set the path of the theme.
setVersion ( string $version ) : Newscoop\Entity\Theme Set the version of the theme, this has to be a whell formated version name like '1.3'.
toObject ( )

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

getDescription() публичный метод

Provides the desciption of the theme.
public getDescription ( ) : string
Результат string The description of the theme.

getDesigner() публичный метод

Provides the designer name of the theme.
public getDesigner ( ) : string
Результат string The designer name of the theme.

getInstalledVersion() публичный метод

public getInstalledVersion ( )

getMinorNewscoopVersion() публичный метод

Provides the minimum newscoop version for this theme, this has to be a whell formated version name like '3.6'.
public getMinorNewscoopVersion ( ) : string
Результат string The minimum newscoop version of the theme.

getName() публичный метод

Provides the name of the theme, must be a user frendly name used for displaying it on the UI.
public getName ( ) : string
Результат string The name of the theme.

getPath() публичный метод

Provides the path of the theme.
public getPath ( ) : string
Результат string The path of the theme.

getVersion() публичный метод

Provides the version of the theme, this has to be a whell formated version name like '1.3'.
public getVersion ( ) : string
Результат string The version of the theme.

isInstalled() публичный метод

* ---------------------------------------------------------------
public isInstalled ( )

setDescription() публичный метод

Set the desciption of the theme.
public setDescription ( string $description ) : Newscoop\Entity\Theme
$description string The description of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.

setDesigner() публичный метод

Set the designer name of the theme.
public setDesigner ( string $designer ) : Newscoop\Entity\Theme
$designer string The designer name of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.

setMinorNewscoopVersion() публичный метод

Set the minimum newscoop version for this theme, this has to be a whell formated version name like '3.6'.
public setMinorNewscoopVersion ( string $minorNewscoopVersion ) : Newscoop\Entity\Theme
$minorNewscoopVersion string The minimum newscoop version of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.

setName() публичный метод

Set the name of the theme, must be a user frendly name used for displaying it on the UI.
public setName ( string $name ) : Newscoop\Entity\Theme
$name string The name of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.

setPath() публичный метод

Set the path of the theme.
public setPath ( string $path ) : Newscoop\Entity\Theme
$path string The path of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.

setVersion() публичный метод

Set the version of the theme, this has to be a whell formated version name like '1.3'.
public setVersion ( string $version ) : Newscoop\Entity\Theme
$version string TThe version of the theme, must not be null or empty.
Результат Newscoop\Entity\Theme This object for chaining purposes.

toObject() публичный метод

public toObject ( )

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

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

protected string $description
Результат string

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

protected string $designer
Результат string

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

protected string $minorNewscoopVersion
Результат string

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

protected string $name
Результат string

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

protected string $path
Результат string

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

protected string $version
Результат string