/**
* Class constructor
*
* @param array $category The category data.
* @param Categories $constructor The tree constructor.
*
* @since 1.6
*/
public function __construct($category = null, $constructor = null)
{
if ($category) {
$this->setProperties($category);
if ($constructor) {
$this->_constructor = $constructor;
}
return true;
}
return false;
}