PHP Class Pimcore\Model\Object\Fieldcollection

Inheritance: extends Pimcore\Model\AbstractModel, implements Iterator
Exibir arquivo Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$fieldname
$items array

Public Methods

Method Description
__construct ( array $items = [], null $fieldname = null )
add ( $item ) : void
current ( ) : mixed
get ( $index )
getCount ( ) : integer
getFieldname ( )
getItemDefinitions ( ) : array
getItems ( ) : array
isEmpty ( ) : boolean
key ( ) : mixed
next ( ) : mixed
remove ( $index ) : void
rewind ( ) *
save ( $object ) : void
setFieldname ( $fieldname )
setItems ( $items )
valid ( ) : boolean

Method Details

__construct() public method

public __construct ( array $items = [], null $fieldname = null )
$items array
$fieldname null

add() public method

public add ( $item ) : void
$item
return void

current() public method

public current ( ) : mixed
return mixed

get() public method

public get ( $index )
$index

getCount() public method

public getCount ( ) : integer
return integer

getFieldname() public method

public getFieldname ( )

getItemDefinitions() public method

public getItemDefinitions ( ) : array
return array

getItems() public method

public getItems ( ) : array
return array

isEmpty() public method

public isEmpty ( ) : boolean
return boolean

key() public method

public key ( ) : mixed
return mixed

next() public method

public next ( ) : mixed
return mixed

remove() public method

public remove ( $index ) : void
$index
return void

rewind() public method

*
public rewind ( )

save() public method

public save ( $object ) : void
$object
return void

setFieldname() public method

public setFieldname ( $fieldname )
$fieldname

setItems() public method

public setItems ( $items )
$items

valid() public method

public valid ( ) : boolean
return boolean

Property Details

$fieldname public_oe property

public $fieldname

$items public_oe property

public array $items
return array