PHP 클래스 Redaxscript\Reader

부터: 3.0.0
저자: Henry Ruhs
파일 보기 프로젝트 열기: redaxmedia/redaxscript 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_assoc boolean assoc
$_dataArray array data array
$_dataObject object data object

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
_convertToArray ( ) : array convert to array
_convertToObject ( ) : object convert to object

메소드 상세

_convertToArray() 보호된 메소드

convert to array
부터: 3.0.0
protected _convertToArray ( ) : array
리턴 array

_convertToObject() 보호된 메소드

convert to object
부터: 3.0.0
protected _convertToObject ( ) : object
리턴 object

getArray() 공개 메소드

get the array
부터: 3.0.0
public getArray ( ) : array
리턴 array

getJSON() 공개 메소드

get the json
부터: 3.0.0
public getJSON ( ) : string
리턴 string

getObject() 공개 메소드

get the object
부터: 3.0.0
public getObject ( ) : array
리턴 array

getXML() 공개 메소드

get the xml
부터: 3.0.0
public getXML ( ) : string
리턴 string

load() 공개 메소드

load from url
부터: 3.0.0
public load ( string $url = null ) : Reader
$url string
리턴 Reader

loadJSON() 공개 메소드

load json from url
부터: 3.0.0
public loadJSON ( string $url = null, boolean $assoc = true ) : Reader
$url string
$assoc boolean
리턴 Reader

loadXML() 공개 메소드

load xml from url
부터: 3.0.0
public loadXML ( string $url = null, boolean $assoc = true ) : Reader
$url string
$assoc boolean
리턴 Reader

프로퍼티 상세

$_assoc 보호되어 있는 프로퍼티

assoc
protected bool $_assoc
리턴 boolean

$_dataArray 보호되어 있는 프로퍼티

data array
protected array $_dataArray
리턴 array

$_dataObject 보호되어 있는 프로퍼티

data object
protected object $_dataObject
리턴 object