PHP Class MetaTopic

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

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode Description
GetTypeName ( )
__construct ( string $topicIdOrName = null, $languageCode = null ) Construct

Méthodes protégées

Méthode Description
getLocale ( )
getName ( )
getParent ( )
getValue ( )
isRoot ( )

Method Details

GetTypeName() public static méthode

public static GetTypeName ( )

__construct() public méthode

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

getLocale() protected méthode

protected getLocale ( )

getName() protected méthode

protected getName ( )

getParent() protected méthode

protected getParent ( )

getValue() protected méthode

protected getValue ( )

isRoot() protected méthode

protected isRoot ( )

Property Details

$defined public_oe property

Checks if topic is defined
public bool $defined
Résultat boolean

$id public_oe property

Alias to identifier
public int $id
Résultat integer

$identifier public_oe property

Topic id
public int $identifier
Résultat integer

$is_root public_oe property

Is topic root
public bool $is_root
Résultat boolean

$name public_oe property

Topic name
public string $name
Résultat string

$parent public_oe property

Parent topic
public MetaTopic $parent
Résultat MetaTopic

$value public_oe property

Topic full name e.g. topic:en
public string $value
Résultat string