bool
DB_NestedSet::setAttr
(
array
$attr
)
This package is not documented yet.
$attr
An associative array with attributes
throws no exceptions thrown
This function can not be called statically.
Set attributes
<?php
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'
)
);
?>