PHP 클래스 Scalr\Model\Entity\Tag

부터: 5.0 (02.07.2014)
저자: Igor Vodiasov ([email protected])
상속: extends Scalr\Model\AbstractEntity
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$accountId integer Tag's accountId
$id integer ID
$name string Tag's name

공개 메소드들

메소드 설명
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 )

메소드 상세

clearTags() 공개 정적인 메소드

Clear unused tags
public static clearTags ( )

deleteTags() 공개 정적인 메소드

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

getAll() 공개 정적인 메소드

public static getAll ( $accountId ) : array
$accountId
리턴 array

getTags() 공개 정적인 메소드

public static getTags ( string $resource, integer $resourceId ) : array
$resource string
$resourceId integer
리턴 array

setTags() 공개 정적인 메소드

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

프로퍼티 상세

$accountId 공개적으로 프로퍼티

Tag's accountId
public int $accountId
리턴 integer

$id 공개적으로 프로퍼티

ID
public int $id
리턴 integer

$name 공개적으로 프로퍼티

Tag's name
public string $name
리턴 string