tableau Config_Container::getAttributes (
( void
)
Cette Méthode retourne un tableau contenant les attributs de ce conteneur.
tableau - attributs de l'élément
This function can not be called statically.
Utilisation des attributs
<?php
$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');
?>
Les attributs sont définis pour la clé '@' avec un tableau PHP
Les attributs sont définis sous la forme XML