public function isSideMenuItemActive($item)
    {
        if ($this->contextSideMenuItemCode === true) {
            $this->contextSideMenuItemCode = null;
            return true;
        }

        return $this->contextOwner == $item->owner && $this->contextSideMenuItemCode == $item->code;
    }
public function isSideMenuItemActive($item)
    {
        if ($this->contextSideMenuItemCode === true) {
            $this->contextSideMenuItemCode = null;
            return true;
        }

        return $this->contextOwner == $item->owner && $this->contextSideMenuItemCode == $item->code;
    }
public function isSideMenuItemActive ( $ item ) { if ( $ this -> contextSideMenuItemCode === true ) { $ this -> contextSideMenuItemCode = null ; return true ; } return $ this -> contextOwner == $ item -> owner && $ this -> contextSideMenuItemCode == $ item -> code ; }
Determines if a side menu item is active.
@param mixed $item Specifies the item object.
@return boolean Returns true if the side item is active.
Determines if a side menu item is active .