concrete/blocks/autonav/nav_item.php
public function isActive(&$c)
    {
        if ($c) {
            $cID = ($c->getCollectionPointerID() > 0) ? $c->getCollectionPointerOriginalID() : $c->getCollectionID();

            return $cID == $this->cID;
        }
    }
public function isActive(&$c)
    {
        if ($c) {
            $cID = ($c->getCollectionPointerID() > 0) ? $c->getCollectionPointerOriginalID() : $c->getCollectionID();

            return $cID == $this->cID;
        }
    }
public function isActive ( & $ c ) { if ( $ c ) { $ cID = ( $ c -> getCollectionPointerID ( ) > 0 ) ? $ c -> getCollectionPointerOriginalID ( ) : $ c -> getCollectionID ( ) ; return $ cID == $ this -> cID ; } }
Determines whether this nav item is the current page the user is on.

@param \Concrete\Core\Page\Page $c The page object for the current page

@return bool
Determines whether this nav item is the current page the user is on .