PHP Class Pimcore\Model\Element\Note

Inheritance: extends Pimcore\Model\AbstractModel
ファイルを表示 Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$cid integer
$ctype string
$data array
$date integer
$description string
$id integer
$title string
$type string
$user integer

Public Methods

Method Description
addData ( string $name, string $type, mixed $data )
getById ( $id ) : Element\Note
getCid ( ) : integer
getCtype ( ) : string
getData ( ) : array
getDate ( ) : integer
getDescription ( ) : string
getId ( ) : integer
getTitle ( ) : string
getType ( ) : string
getUser ( ) : integer
save ( )
setCid ( $cid )
setCtype ( $ctype )
setData ( $data )
setDate ( $date )
setDescription ( $description )
setElement ( Pimcore\Model\Element\ElementInterface $element )
setId ( $id )
setTitle ( $title )
setType ( $type )
setUser ( $user )

Method Details

addData() public method

public addData ( string $name, string $type, mixed $data )
$name string
$type string
$data mixed

getById() public static method

public static getById ( $id ) : Element\Note
$id
return Element\Note

getCid() public method

public getCid ( ) : integer
return integer

getCtype() public method

public getCtype ( ) : string
return string

getData() public method

public getData ( ) : array
return array

getDate() public method

public getDate ( ) : integer
return integer

getDescription() public method

public getDescription ( ) : string
return string

getId() public method

public getId ( ) : integer
return integer

getTitle() public method

public getTitle ( ) : string
return string

getType() public method

public getType ( ) : string
return string

getUser() public method

public getUser ( ) : integer
return integer

save() public method

public save ( )

setCid() public method

public setCid ( $cid )
$cid

setCtype() public method

public setCtype ( $ctype )
$ctype

setData() public method

public setData ( $data )
$data

setDate() public method

public setDate ( $date )
$date

setDescription() public method

public setDescription ( $description )
$description

setElement() public method

public setElement ( Pimcore\Model\Element\ElementInterface $element )
$element Pimcore\Model\Element\ElementInterface

setId() public method

public setId ( $id )
$id

setTitle() public method

public setTitle ( $title )
$title

setType() public method

public setType ( $type )
$type

setUser() public method

public setUser ( $user )
$user

Property Details

$cid public_oe property

public int $cid
return integer

$ctype public_oe property

public string $ctype
return string

$data public_oe property

public array $data
return array

$date public_oe property

public int $date
return integer

$description public_oe property

public string $description
return string

$id public_oe property

public int $id
return integer

$title public_oe property

public string $title
return string

$type public_oe property

public string $type
return string

$user public_oe property

public int $user
return integer