PHP Class Newscoop\Entity\Theme

Inheritance: extends AbstractEntity
Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Свойство Type Description
$description string
$designer string
$minorNewscoopVersion string
$name string
$path string
$version string

Méthodes publiques

Méthode Description
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 ( )

Method Details

getDescription() public méthode

Provides the desciption of the theme.
public getDescription ( ) : string
Résultat string The description of the theme.

getDesigner() public méthode

Provides the designer name of the theme.
public getDesigner ( ) : string
Résultat string The designer name of the theme.

getInstalledVersion() public méthode

public getInstalledVersion ( )

getMinorNewscoopVersion() public méthode

Provides the minimum newscoop version for this theme, this has to be a whell formated version name like '3.6'.
public getMinorNewscoopVersion ( ) : string
Résultat string The minimum newscoop version of the theme.

getName() public méthode

Provides the name of the theme, must be a user frendly name used for displaying it on the UI.
public getName ( ) : string
Résultat string The name of the theme.

getPath() public méthode

Provides the path of the theme.
public getPath ( ) : string
Résultat string The path of the theme.

getVersion() public méthode

Provides the version of the theme, this has to be a whell formated version name like '1.3'.
public getVersion ( ) : string
Résultat string The version of the theme.

isInstalled() public méthode

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

setDescription() public méthode

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.
Résultat Newscoop\Entity\Theme This object for chaining purposes.

setDesigner() public méthode

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.
Résultat Newscoop\Entity\Theme This object for chaining purposes.

setMinorNewscoopVersion() public méthode

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.
Résultat Newscoop\Entity\Theme This object for chaining purposes.

setName() public méthode

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.
Résultat Newscoop\Entity\Theme This object for chaining purposes.

setPath() public méthode

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.
Résultat Newscoop\Entity\Theme This object for chaining purposes.

setVersion() public méthode

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.
Résultat Newscoop\Entity\Theme This object for chaining purposes.

toObject() public méthode

public toObject ( )

Property Details

$description protected_oe property

protected string $description
Résultat string

$designer protected_oe property

protected string $designer
Résultat string

$minorNewscoopVersion protected_oe property

protected string $minorNewscoopVersion
Résultat string

$name protected_oe property

protected string $name
Résultat string

$path protected_oe property

protected string $path
Résultat string

$version protected_oe property

protected string $version
Résultat string