PHP Class Imbo\Http\Response\Formatter\XML

Author: Christer Edvartsen ([email protected])
Inheritance: extends Formatter, implements Imbo\Http\Response\Formatter\FormatterInterface
Datei anzeigen Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
formatAccessRule ( AccessRule $model )
formatAccessRules ( AccessRules $model )
formatArrayModel ( ArrayModel $model )
formatError ( Error $model )
formatGroup ( Group $model )
formatGroups ( Groups $model )
formatImages ( Images $model )
formatListModel ( ListModel $model )
formatMetadataModel ( Imbo\Model\Metadata $model )
formatStats ( Stats $model )
formatStatus ( Status $model )
formatUser ( User $model )
getContentType ( )

Private Methods

Method Description
formatAccessRuleArray ( array $accessRule ) : string Format access rule data array
formatArray ( array $data ) : string Format a nested dataset
formatMetadata ( array $data ) : string Format dataset containing metadata
formatValue ( string $value ) : string Format a value, and CDATA wrap it if it contains special characters

Method Details

formatAccessRule() public method

public formatAccessRule ( AccessRule $model )
$model Imbo\Model\AccessRule

formatAccessRules() public method

public formatAccessRules ( AccessRules $model )
$model Imbo\Model\AccessRules

formatArrayModel() public method

public formatArrayModel ( ArrayModel $model )
$model Imbo\Model\ArrayModel

formatError() public method

public formatError ( Error $model )
$model Imbo\Model\Error

formatGroup() public method

public formatGroup ( Group $model )
$model Imbo\Model\Group

formatGroups() public method

public formatGroups ( Groups $model )
$model Imbo\Model\Groups

formatImages() public method

public formatImages ( Images $model )
$model Imbo\Model\Images

formatListModel() public method

public formatListModel ( ListModel $model )
$model Imbo\Model\ListModel

formatMetadataModel() public method

public formatMetadataModel ( Imbo\Model\Metadata $model )
$model Imbo\Model\Metadata

formatStats() public method

public formatStats ( Stats $model )
$model Imbo\Model\Stats

formatStatus() public method

public formatStatus ( Status $model )
$model Imbo\Model\Status

formatUser() public method

public formatUser ( User $model )
$model Imbo\Model\User

getContentType() public method

public getContentType ( )