public function setActive($isActive)
    {
        $this->isActive = (bool) $isActive;
        
        if ($this->parent !== null) {
            $this->parent->setActive($isActive);
        }
    }
public function setActive($isActive)
    {
        $this->isActive = (bool) $isActive;
        
        if ($this->parent !== null) {
            $this->parent->setActive($isActive);
        }
    }
public function setActive ( $ isActive ) { $ this -> isActive = ( bool ) $ isActive ; if ( $ this -> parent !== null ) { $ this -> parent -> setActive ( $ isActive ) ; } }
Sets the menu entry as active

@access public
@param boolean $isActive
Sets the menu entry as active