Javascript validator
Web page editor
↑
DB_NestedSet::setAttr()
-- Sets an object attribute
Description
This package is not documented yet.
Parameter
- array
$attr
An associative array with attributes
Throws
throws
no exceptions thrown
Note
This function can not be called
statically.
Example
Example 39-1. Set attributes require_once('DB/NestedSet.php');
$nestedSet =& DB_NestedSet::factory('DB', $dsn, $params);
$nestedSet->setAttr(array(
'node_table' => 'nested_set',
'lock_table' => 'nested_set_locks',
'secondarySort' => 'name'
)
); |
|
→
Javascript validator
Web page editor