PHP Class Redaxscript\Reader

Since: 3.0.0
Author: Henry Ruhs
Afficher le fichier Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Свойство Type Description
$_assoc boolean assoc
$_dataArray array data array
$_dataObject object data object

Méthodes publiques

Méthode Description
getArray ( ) : array get the array
getJSON ( ) : string get the json
getObject ( ) : array get the object
getXML ( ) : string get the xml
load ( string $url = null ) : Reader load from url
loadJSON ( string $url = null, boolean $assoc = true ) : Reader load json from url
loadXML ( string $url = null, boolean $assoc = true ) : Reader load xml from url

Méthodes protégées

Méthode Description
_convertToArray ( ) : array convert to array
_convertToObject ( ) : object convert to object

Method Details

_convertToArray() protected méthode

convert to array
Since: 3.0.0
protected _convertToArray ( ) : array
Résultat array

_convertToObject() protected méthode

convert to object
Since: 3.0.0
protected _convertToObject ( ) : object
Résultat object

getArray() public méthode

get the array
Since: 3.0.0
public getArray ( ) : array
Résultat array

getJSON() public méthode

get the json
Since: 3.0.0
public getJSON ( ) : string
Résultat string

getObject() public méthode

get the object
Since: 3.0.0
public getObject ( ) : array
Résultat array

getXML() public méthode

get the xml
Since: 3.0.0
public getXML ( ) : string
Résultat string

load() public méthode

load from url
Since: 3.0.0
public load ( string $url = null ) : Reader
$url string
Résultat Reader

loadJSON() public méthode

load json from url
Since: 3.0.0
public loadJSON ( string $url = null, boolean $assoc = true ) : Reader
$url string
$assoc boolean
Résultat Reader

loadXML() public méthode

load xml from url
Since: 3.0.0
public loadXML ( string $url = null, boolean $assoc = true ) : Reader
$url string
$assoc boolean
Résultat Reader

Property Details

$_assoc protected_oe property

assoc
protected bool $_assoc
Résultat boolean

$_dataArray protected_oe property

data array
protected array $_dataArray
Résultat array

$_dataObject protected_oe property

data object
protected object $_dataObject
Résultat object