PHP Class Yosymfony\Spress\Core\ContentManager\SiteAttribute\SiteAttribute

Author: Victor Puertas ([email protected])
Inheritance: implements Yosymfony\Spress\Core\ContentManager\SiteAttribute\SiteAttributeInterface
Afficher le fichier Open project: spress/spress Class Usage Examples

Protected Properties

Свойство Type Description
$arrayWrapper
$postAttributesResolver

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
addAttribute ( $name, $value )
getAttribute ( $name )
getAttributes ( )
hasAttribute ( $name )
initialize ( array $attributes = [] )
setAttribute ( $name, $value )
setItem ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )

Méthodes protégées

Méthode Description
getItemAttributes ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
getPostAttributesResolver ( )

Method Details

__construct() public méthode

Constructor.
public __construct ( )

addAttribute() public méthode

public addAttribute ( $name, $value )

getAttribute() public méthode

public getAttribute ( $name )

getAttributes() public méthode

public getAttributes ( )

getItemAttributes() protected méthode

protected getItemAttributes ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
$item Yosymfony\Spress\Core\DataSource\ItemInterface

getPostAttributesResolver() protected méthode

hasAttribute() public méthode

public hasAttribute ( $name )

initialize() public méthode

public initialize ( array $attributes = [] )
$attributes array

setAttribute() public méthode

public setAttribute ( $name, $value )

setItem() public méthode

public setItem ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
$item Yosymfony\Spress\Core\DataSource\ItemInterface

Property Details

$arrayWrapper protected_oe property

protected $arrayWrapper

$postAttributesResolver protected_oe property

protected $postAttributesResolver