PHP 인터페이스 Xpressengine\Permission\PermissionRepository

저자: XE Developers ([email protected])
파일 보기 프로젝트 열기: xpressengine/xpressengine 0 사용 예제들

공개 메소드들

메소드 설명
affiliate ( Permission $item, string $to ) : void affiliated to another registered
delete ( Permission $item ) : integer Delete register information
fetchAncestor ( string $siteKey, string $name ) : array Returns ancestor of item
fetchDescendant ( string $siteKey, string $name ) : array Returns descendant of item
findByName ( string $siteKey, string $name ) : Permission Find a registered by type and name
foster ( Permission $item, string $to ) : void Parent Changing with descendant
insert ( Permission $item ) : Permission Insert register information
update ( Permission $item ) : Permission Update register information

메소드 상세

affiliate() 공개 메소드

affiliated to another registered
public affiliate ( Permission $item, string $to ) : void
$item Permission permission instance
$to string parent name
리턴 void

delete() 공개 메소드

Delete register information
public delete ( Permission $item ) : integer
$item Permission permission instance
리턴 integer affecting statement

fetchAncestor() 공개 메소드

Returns ancestor of item
public fetchAncestor ( string $siteKey, string $name ) : array
$siteKey string site key
$name string target name
리턴 array

fetchDescendant() 공개 메소드

Returns descendant of item
public fetchDescendant ( string $siteKey, string $name ) : array
$siteKey string site key
$name string target name
리턴 array

findByName() 공개 메소드

Find a registered by type and name
public findByName ( string $siteKey, string $name ) : Permission
$siteKey string site key
$name string target name
리턴 Permission

foster() 공개 메소드

Parent Changing with descendant
public foster ( Permission $item, string $to ) : void
$item Permission permission instance
$to string parent name
리턴 void

insert() 공개 메소드

Insert register information
public insert ( Permission $item ) : Permission
$item Permission permission instance
리턴 Permission

update() 공개 메소드

Update register information
public update ( Permission $item ) : Permission
$item Permission permission instance
리턴 Permission