PHP Class Scalr\Model\Entity\Tag

Since: 5.0 (02.07.2014)
Author: Igor Vodiasov ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity
Afficher le fichier Open project: scalr/scalr Class Usage Examples

Méthodes publiques

Свойство Type Description
$accountId integer Tag's accountId
$id integer ID
$name string Tag's name

Méthodes publiques

Méthode Description
clearTags ( ) Clear unused tags
deleteTags ( string $resource, integer $resourceId )
getAll ( $accountId ) : array
getTags ( string $resource, integer $resourceId ) : array
setTags ( array $tags, integer $accountId, string $resource, integer $resourceId )

Method Details

clearTags() public static méthode

Clear unused tags
public static clearTags ( )

deleteTags() public static méthode

public static deleteTags ( string $resource, integer $resourceId )
$resource string
$resourceId integer

getAll() public static méthode

public static getAll ( $accountId ) : array
$accountId
Résultat array

getTags() public static méthode

public static getTags ( string $resource, integer $resourceId ) : array
$resource string
$resourceId integer
Résultat array

setTags() public static méthode

public static setTags ( array $tags, integer $accountId, string $resource, integer $resourceId )
$tags array
$accountId integer
$resource string
$resourceId integer

Property Details

$accountId public_oe property

Tag's accountId
public int $accountId
Résultat integer

$id public_oe property

ID
public int $id
Résultat integer

$name public_oe property

Tag's name
public string $name
Résultat string