PHP Class Pimcore\Model\Property

Inheritance: extends AbstractModel
Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$cid integer
$cpath string
$ctype string
$data mixed
$inheritable boolean
$inherited boolean
$name string
$type string

Public Methods

Method Description
getCid ( ) : integer
getCpath ( ) : string
getCtype ( ) : string
getData ( ) : mixed
getInheritable ( ) : boolean
getInherited ( ) : boolean
getName ( ) : string
getType ( ) : string
isInherited ( ) : boolean Alias for getInherited()
resolveDependencies ( ) : array
rewriteIds ( array $idMapping ) Rewrites id from source to target, $idMapping contains array( "document" => array( SOURCE_ID => TARGET_ID, SOURCE_ID => TARGET_ID ), "object" => array(.
setCid ( integer $cid ) : static
setCpath ( string $cpath ) : static
setCtype ( string $ctype ) : static
setData ( mixed $data ) : static
setDataFromEditmode ( mixed $data ) Takes data from editmode and convert it to internal objects
setDataFromResource ( mixed $data ) : static Takes data from resource and convert it to internal objects
setInheritable ( boolean $inheritable ) : static
setInherited ( boolean $inherited ) : static
setName ( string $name ) : static
setType ( string $type ) : static

Method Details

getCid() public method

public getCid ( ) : integer
return integer

getCpath() public method

public getCpath ( ) : string
return string

getCtype() public method

public getCtype ( ) : string
return string

getData() public method

public getData ( ) : mixed
return mixed

getInheritable() public method

public getInheritable ( ) : boolean
return boolean

getInherited() public method

public getInherited ( ) : boolean
return boolean

getName() public method

public getName ( ) : string
return string

getType() public method

public getType ( ) : string
return string

isInherited() public method

Alias for getInherited()
public isInherited ( ) : boolean
return boolean

resolveDependencies() public method

public resolveDependencies ( ) : array
return array

rewriteIds() public method

..), "asset" => array(...) )
public rewriteIds ( array $idMapping )
$idMapping array

setCid() public method

public setCid ( integer $cid ) : static
$cid integer
return static

setCpath() public method

public setCpath ( string $cpath ) : static
$cpath string
return static

setCtype() public method

public setCtype ( string $ctype ) : static
$ctype string
return static

setData() public method

public setData ( mixed $data ) : static
$data mixed
return static

setDataFromEditmode() public method

Takes data from editmode and convert it to internal objects
public setDataFromEditmode ( mixed $data )
$data mixed

setDataFromResource() public method

Takes data from resource and convert it to internal objects
public setDataFromResource ( mixed $data ) : static
$data mixed
return static

setInheritable() public method

public setInheritable ( boolean $inheritable ) : static
$inheritable boolean
return static

setInherited() public method

public setInherited ( boolean $inherited ) : static
$inherited boolean
return static

setName() public method

public setName ( string $name ) : static
$name string
return static

setType() public method

public setType ( string $type ) : static
$type string
return static

Property Details

$cid public property

public int $cid
return integer

$cpath public property

public string $cpath
return string

$ctype public property

public string $ctype
return string

$data public property

public mixed $data
return mixed

$inheritable public property

public bool $inheritable
return boolean

$inherited public property

public bool $inherited
return boolean

$name public property

public string $name
return string

$type public property

public string $type
return string