PHP Interface Jarves\Admin\ObjectCrudInterface

Show file Open project: jarves/jarves

Public Methods

Method Description
add ( $requestOrData, $pk = null, $position = null, $targetObjectKey = null )
getBranchChildrenCount ( $pk = null, $scope = null, $filter = null )
getBranchItems ( $pk = null, $filter = null, $fields = null, $scope = null, $depth = 1, $limit = null, $offset = null )
getCount ( $filter, $query = '' )
getItem ( $pk, $fields = null, $withAcl = false )
getItems ( $filter = null, $limit = null, $offset = null, $query = '', $fields = null, $orderBy = [] )
getParent ( $pk )
getParents ( $pk )
getRoot ( $scope = null )
getRoots ( )
moveItem ( $sourceUrl, $targetUrl, $position = 'first', $targetObjectKey = '' )
patch ( $pk, $requestOrData )
remove ( $pk )
update ( $pk, $requestOrData )

Method Details

add() public method

public add ( $requestOrData, $pk = null, $position = null, $targetObjectKey = null )

getBranchChildrenCount() public method

public getBranchChildrenCount ( $pk = null, $scope = null, $filter = null )

getBranchItems() public method

public getBranchItems ( $pk = null, $filter = null, $fields = null, $scope = null, $depth = 1, $limit = null, $offset = null )

getCount() public method

public getCount ( $filter, $query = '' )

getItem() public method

public getItem ( $pk, $fields = null, $withAcl = false )

getItems() public method

public getItems ( $filter = null, $limit = null, $offset = null, $query = '', $fields = null, $orderBy = [] )

getParent() public method

public getParent ( $pk )

getParents() public method

public getParents ( $pk )

getRoot() public method

public getRoot ( $scope = null )

getRoots() public method

public getRoots ( )

moveItem() public method

public moveItem ( $sourceUrl, $targetUrl, $position = 'first', $targetObjectKey = '' )

patch() public method

public patch ( $pk, $requestOrData )

remove() public method

public remove ( $pk )

update() public method

public update ( $pk, $requestOrData )