Dotclear 2.26
Loading...
Searching...
No Matches
dcStoreParser Class Reference

Public Member Functions

 __construct (string $data)
 
 getDefines ()
 
 getModules ()
 

Protected Member Functions

 _parse ()
 

Protected Attributes

 $xml
 
 $items = []
 
 $defines = []
 

Static Protected Attributes

static $bloc = 'http://dotaddict.org/da/'
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $data)

Constructor.

Parameters
string$dataFeed content

References _parse().

Member Function Documentation

◆ _parse()

_parse ( )
protected

Parse XML into array

References DC_DEV, DC_VERSION, and dcUtils\versionsCompare().

Referenced by __construct().

◆ getDefines()

getDefines ( )

Get modules Defines.

Returns
array Modules Define list

References $defines.

◆ getModules()

getModules ( )

Get modules.

Deprecated:
since 2.26 Use self::getDefines()
Returns
array Modules list

References $items, and Deprecated\set().

Field Documentation

◆ $xml

$xml
protected

◆ $items

$items = []
protected

Referenced by getModules().

◆ $defines

$defines = []
protected

Referenced by getDefines().

◆ $bloc

$bloc = 'http://dotaddict.org/da/'
staticprotected

The documentation for this class was generated from the following file: