DB_NestedSet::setAttr

DB_NestedSet::setAttr() – Sets an object attribute

Synopsis

require_once 'DB/NestedSet.php';

bool DB_NestedSet::setAttr ( array $attr )

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

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'
        
)
    );
?>
DB_NestedSet::removeListener (Previous) DB_NestedSet::setDbOption (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.