PHP Class MetaTopic

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

Public Properties

Property Type Description
$defined boolean Checks if topic is defined
$id integer Alias to identifier
$identifier integer Topic id
$is_root boolean Is topic root
$name string Topic name
$parent MetaTopic Parent topic
$value string Topic full name e.g. topic:en

Public Methods

Method Description
GetTypeName ( )
__construct ( string $topicIdOrName = null, $languageCode = null ) Construct

Protected Methods

Method Description
getLocale ( )
getName ( )
getParent ( )
getValue ( )
isRoot ( )

Method Details

GetTypeName() public static method

public static GetTypeName ( )

__construct() public method

Construct
public __construct ( string $topicIdOrName = null, $languageCode = null )
$topicIdOrName string

getLocale() protected method

protected getLocale ( )

getName() protected method

protected getName ( )

getParent() protected method

protected getParent ( )

getValue() protected method

protected getValue ( )

isRoot() protected method

protected isRoot ( )

Property Details

$defined public_oe property

Checks if topic is defined
public bool $defined
return boolean

$id public_oe property

Alias to identifier
public int $id
return integer

$identifier public_oe property

Topic id
public int $identifier
return integer

$is_root public_oe property

Is topic root
public bool $is_root
return boolean

$name public_oe property

Topic name
public string $name
return string

$parent public_oe property

Parent topic
public MetaTopic $parent
return MetaTopic

$value public_oe property

Topic full name e.g. topic:en
public string $value
return string