function add($Title, $Description, $ParentID = null)
	{
		if ($ParentID === null)
			$ParentID = $this->rootId ();
		return (int)$this->{$this->type ()}->insertChildData ( array ("Title" => $Title, "Description" => $Description ), "ID=?", $ParentID );
	}
function add($Title, $Description, $ParentID = null)
	{
		if ($ParentID === null)
			$ParentID = $this->rootId ();
		return (int)$this->{$this->type ()}->insertChildData ( array ("Title" => $Title, "Description" => $Description ), "ID=?", $ParentID );
	}
function add ( $ Title , $ Description , $ ParentID = null ) { if ( $ ParentID === null ) $ ParentID = $ this -> rootId ( ) ; return ( int ) $ this -> { $ this -> type ( ) } -> insertChildData ( array ( "Title" => $ Title , "Description" => $ Description ) , "ID=?" , $ ParentID ) ; }
Adds a new role or permission
Returns new entry's ID

@param string $Title
Title of the new entry
@param string $Description
Description of the new entry
@param integer $ParentID
optional ID of the parent node in the hierarchy
@return integer ID of the new entry
Adds a new role or permission Returns new entry s ID