PHP 클래스 WPDKUserCapability

부터: 1.6.0
저자: =undo= ([email protected])
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 프로퍼티들

프로퍼티 타입 설명
$description string Extend description
$id string Capability ID
$owner string Capability owner
$roles array List of role id with this cap
$users array List of users id with this cap

공개 메소드들

메소드 설명
__construct ( string $id, string $description = '', string $owner = '' ) : WPDKUserCapability Create an instance of WPDKUserCapability class
update ( ) Update in options the capability information

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKUserCapability class
public __construct ( string $id, string $description = '', string $owner = '' ) : WPDKUserCapability
$id string Unique id of capability
$description string Optional. Capability description
$owner string Optional. Capability owner, who create this capabilty
리턴 WPDKUserCapability

update() 공개 메소드

Update in options the capability information
public update ( )

프로퍼티 상세

$description 공개적으로 프로퍼티

Extend description
public string $description
리턴 string

$id 공개적으로 프로퍼티

Capability ID
public string $id
리턴 string

$owner 공개적으로 프로퍼티

Capability owner
public string $owner
리턴 string

$roles 공개적으로 프로퍼티

List of role id with this cap
public array $roles
리턴 array

$users 공개적으로 프로퍼티

List of users id with this cap
public array $users
리턴 array