PHP Class Pheal\Core\RowSet

Inheritance: extends ArrayObject, implements Pheal\Core\CanConvertToArray
Show file Open project: 3rdpartyeve/phealng Class Usage Examples

Public Properties

Property Type Description
$_name string name of the rowset

Public Methods

Method Description
__construct ( SimpleXMLElement $xml, string $name = null, string $rowname = 'row' ) initialize the rowset
toArray ( ) : array returns the Object as associated array

Method Details

__construct() public method

initialize the rowset
public __construct ( SimpleXMLElement $xml, string $name = null, string $rowname = 'row' )
$xml SimpleXMLElement
$name string optional
$rowname string optional

toArray() public method

returns the Object as associated array
public toArray ( ) : array
return array

Property Details

$_name public property

name of the rowset
public string $_name
return string