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

Author: Victor Puertas ([email protected])
Inheritance: implements Yosymfony\Spress\Core\ContentManager\SiteAttribute\SiteAttributeInterface
显示文件 Open project: spress/spress Class Usage Examples

Protected Properties

Property Type Description
$arrayWrapper
$postAttributesResolver

Public Methods

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

Protected Methods

Method Description
getItemAttributes ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
getPostAttributesResolver ( )

Method Details

__construct() public method

Constructor.
public __construct ( )

addAttribute() public method

public addAttribute ( $name, $value )

getAttribute() public method

public getAttribute ( $name )

getAttributes() public method

public getAttributes ( )

getItemAttributes() protected method

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

getPostAttributesResolver() protected method

hasAttribute() public method

public hasAttribute ( $name )

initialize() public method

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

setAttribute() public method

public setAttribute ( $name, $value )

setItem() public method

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