previousDB_NestedSet::removeListener (Previous) (Next) DB_NestedSet::setDbOptionnext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

DB_NestedSet::setAttr

DB_NestedSet::setAttr() – オブジェクトの属性を設定する

Synopsis

require_once 'DB/NestedSet.php';

bool DB_NestedSet::setAttr ( array $attr )

Description

This package is not documented yet.

Parameter

array $attr

属性の連想配列。

Throws

例外はスローされません。

Note

This function can not be called statically.

Example

属性の設定

<?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'
        
)
    );
?>
previousDB_NestedSet::removeListener (Previous) (Next) DB_NestedSet::setDbOptionnext

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.