Class TPropertyAccess
TPropertyAccess class provides dot notation stype property access and setting.
Access object's properties (and subproperties) using dot path notation. The following are equivalent.
echo $obj->property1; echo $obj->getProperty1(); echo $obj['property1']; //$obj may be an array or object echo TPropertyAccess($obj, 'property1');
Setting a property value.
$obj1->propert1 = 'hello'; $obj->setProperty('hello'); $obj['property1'] = 'hello'; //$obj may be an array or object TPropertyAccess($obj, 'property1', 'hello');
Subproperties are supported using the dot notation. E.g.
echo $obj->property1->property2->property3 echo TPropertyAccess::get($obj, 'property1.property2.property3');
Package: System\Data\SqlMap
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/DataMapper/TPropertyAccess.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizho[at]gmail[dot]com>
Since: 3.1
Located at Data/SqlMap/DataMapper/TPropertyAccess.php
public static
mixed
|
|
public static
boolean
|
|
public static
|