public function getUrlTemplateByController($controller)
    {
        $result = $this->findUriTemplatesByController($controller);

        // Now check the results of search
        if (isset($result[0])) {
            return $result[0];
        } else {
            return false;
        }
    }
public function getUrlTemplateByController($controller)
    {
        $result = $this->findUriTemplatesByController($controller);

        // Now check the results of search
        if (isset($result[0])) {
            return $result[0];
        } else {
            return false;
        }
    }
public function getUrlTemplateByController ( $ controller ) { $ result = $ this -> findUriTemplatesByController ( $ controller ) ; // Now check the results of search if ( isset ( $ result [ 0 ] ) ) { return $ result [ 0 ] ; } else { return false ; } }
Gets URL template by its associated controller
This method is  basically used when building URLs by their associated controllers

@param string $controller (Module:Controler@action)
@return string|boolean
Gets URL template by its associated controller This method is basically used when building URLs by their associated controllers