PHP Class Lemon\RestBundle\Object\Definition

显示文件 Open project: stanlemon/rest-bundle

Protected Properties

Property Type Description
$class string
$create boolean
$delete boolean
$name string
$partialUpdate boolean
$search boolean
$update boolean

Public Methods

Method Description
__construct ( $name, $class, $search = true, $create = true, $update = true, $delete = true, $partialUpdate = true )
canCreate ( )
canDelete ( )
canPartialUpdate ( )
canSearch ( )
canUpdate ( )
getClass ( )
getName ( )
getOptions ( $isResource = false )

Method Details

__construct() public method

public __construct ( $name, $class, $search = true, $create = true, $update = true, $delete = true, $partialUpdate = true )

canCreate() public method

public canCreate ( )

canDelete() public method

public canDelete ( )

canPartialUpdate() public method

public canPartialUpdate ( )

canSearch() public method

public canSearch ( )

canUpdate() public method

public canUpdate ( )

getClass() public method

public getClass ( )

getName() public method

public getName ( )

getOptions() public method

public getOptions ( $isResource = false )

Property Details

$class protected_oe property

protected string $class
return string

$create protected_oe property

protected bool $create
return boolean

$delete protected_oe property

protected bool $delete
return boolean

$name protected_oe property

protected string $name
return string

$partialUpdate protected_oe property

protected bool $partialUpdate
return boolean

$update protected_oe property

protected bool $update
return boolean