public function isAdminArea()
    {
        if ($this->isGeneratedCollection()) {
            $pos = strpos($this->getCollectionFilename(), '/'.DIRNAME_DASHBOARD);

            return ($pos > -1);
        }

        return false;
    }
public function isAdminArea()
    {
        if ($this->isGeneratedCollection()) {
            $pos = strpos($this->getCollectionFilename(), '/'.DIRNAME_DASHBOARD);

            return ($pos > -1);
        }

        return false;
    }
public function isAdminArea ( ) { if ( $ this -> isGeneratedCollection ( ) ) { $ pos = strpos ( $ this -> getCollectionFilename ( ) , '/' . DIRNAME_DASHBOARD ) ; return ( $ pos > - 1 ) ; } return false ; }
Checks if the page is a dashboard page, returns true if it is.

@return bool
Checks if the page is a dashboard page returns true if it is .