PHP Class Sulu\Bundle\MediaBundle\Content\MediaSelectionContainer

Inheritance: implements Sulu\Component\Util\ArrayableInterface
Mostrar archivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( $config, $displayOption, $ids, $locale, $types, $mediaManager )
__get ( $name )
__isset ( $name )
getConfig ( ) : array
getData ( ) : Media[] returns data of container.
getDisplayOption ( ) : mixed
getIds ( ) : string[] returns ids of container.
getTypes ( ) : string
toArray ( $depth = null )

Private Methods

Method Description
loadData ( string $locale ) : Media[]

Method Details

__construct() public method

public __construct ( $config, $displayOption, $ids, $locale, $types, $mediaManager )

__get() public method

public __get ( $name )

__isset() public method

public __isset ( $name )

getConfig() public method

public getConfig ( ) : array
return array

getData() public method

returns data of container.
public getData ( ) : Media[]
return Sulu\Bundle\MediaBundle\Api\Media[]

getDisplayOption() public method

public getDisplayOption ( ) : mixed
return mixed

getIds() public method

returns ids of container.
public getIds ( ) : string[]
return string[]

getTypes() public method

public getTypes ( ) : string
return string

toArray() public method

public toArray ( $depth = null )