private function setSecurity(SimpleXMLElement $element)
    {
        $security = $element->addChild('security');

        $xml_roles = new CNabuXMLSiteMapRoleList($this->nb_data_object->getRoles());
        $xml_roles->build($security);
    }
private function setSecurity(SimpleXMLElement $element)
    {
        $security = $element->addChild('security');

        $xml_roles = new CNabuXMLSiteMapRoleList($this->nb_data_object->getRoles());
        $xml_roles->build($security);
    }
private function setSecurity ( SimpleXMLElement $ element ) { $ security = $ element -> addChild ( 'security' ) ; $ xml_roles = new CNabuXMLSiteMapRoleList ( $ this -> nb_data_object -> getRoles ( ) ) ; $ xml_roles -> build ( $ security ) ; }
Set the security branch.
@param SimpleXMLElement $element Parent element to anidate branch.
Set the security branch .