classes/component/ElementPage.php
protected function smartUrlCheck()
    {
        if (empty($this->obElementItem)) {
            return false;
        }

        $sCurrentURL = $this->currentPageUrl();
        $sValidURL = $this->obElementItem->getPageUrl($this->page->id);
        $bResult = $sCurrentURL == $sValidURL;

        return $bResult;
    }
protected function smartUrlCheck()
    {
        if (empty($this->obElementItem)) {
            return false;
        }

        $sCurrentURL = $this->currentPageUrl();
        $sValidURL = $this->obElementItem->getPageUrl($this->page->id);
        $bResult = $sCurrentURL == $sValidURL;

        return $bResult;
    }
protected function smartUrlCheck ( ) { if ( empty ( $ this -> obElementItem ) ) { return false ; } $ sCurrentURL = $ this -> currentPageUrl ( ) ; $ sValidURL = $ this -> obElementItem -> getPageUrl ( $ this -> page -> id ) ; $ bResult = $ sCurrentURL == $ sValidURL ; return $ bResult ; }
Smart check URL with additional checking
@return bool
Smart check URL with additional checking