PHP Class Newscoop\Entity\Theme

Inheritance: extends AbstractEntity
Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$description string
$designer string
$minorNewscoopVersion string
$name string
$path string
$version string

Public Methods

Method 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 method

Provides the desciption of the theme.
public getDescription ( ) : string
return string The description of the theme.

getDesigner() public method

Provides the designer name of the theme.
public getDesigner ( ) : string
return string The designer name of the theme.

getInstalledVersion() public method

public getInstalledVersion ( )

getMinorNewscoopVersion() public method

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

getName() public method

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

getPath() public method

Provides the path of the theme.
public getPath ( ) : string
return string The path of the theme.

getVersion() public method

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

isInstalled() public method

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

setDescription() public method

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

setDesigner() public method

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

setMinorNewscoopVersion() public method

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

setName() public method

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

setPath() public method

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

setVersion() public method

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

toObject() public method

public toObject ( )

Property Details

$description protected_oe property

protected string $description
return string

$designer protected_oe property

protected string $designer
return string

$minorNewscoopVersion protected_oe property

protected string $minorNewscoopVersion
return string

$name protected_oe property

protected string $name
return string

$path protected_oe property

protected string $path
return string

$version protected_oe property

protected string $version
return string