Config_Container::getAttributes() -- Get item attributes
Описание
This method returns an array containing the attributes of this container.
Возвращаемое значение
array - item's attributes
Заметка
Эта функция не должна вызываться статически.
Пример
Пример 32-1. Using attribute $attributes = array('id' => 'db', 'language' => 'en');
$section =& new Config_Container('section', 'main', null, $attributes);
$section->createDirective('authentication', 'test', array('type' => 'mysql',
'host' => 'localhost'));
echo $section->toString('phparray');
echo $section->toString('xml'); |
|
HIVE: All information for read only. Please respect copyright! |
|