Property | Type | Description | |
---|---|---|---|
$urlMap | array |
Property | Type | Description | |
---|---|---|---|
$em | |||
$router | Newscoop\Router | ||
$sectionTypes | array | ||
$symfonyRouter |
Method | Description | |
---|---|---|
__construct ( |
||
encode ( string $url ) : string | Encode url | |
getArticleTopicName ( object $article ) : string | Get article topic name | |
getBaseUrl ( string $path = '' ) : string | Get curent request base url path. | |
getIssueShortName ( |
Get issue short name | |
getLink ( |
Get link | |
getLinkCanonical ( |
Get canonical link | |
getPublicationAliasName ( |
Get publication alias | |
getSectionShortName ( |
Get section short name | |
getSeo ( object $article, array $fields ) : string | Get seo string |
public __construct ( |
||
$em | ||
$router | Zend_Controller_Router_Rewrite | |
$symfonyRouter |
public getArticleTopicName ( object $article ) : string | ||
$article | object | |
return | string |
public getBaseUrl ( string $path = '' ) : string | ||
$path | string | path to be appended to base url |
return | string | composed path |
public getIssueShortName ( |
||
$article | ||
return | string |
public getLinkCanonical ( |
||
$article | ||
return | string |
public getPublicationAliasName ( |
||
$article | ||
return | string | Name of the publication alias |
public getSectionShortName ( |
||
$article | ||
return | string |
protected EntityManager,Doctrine\ORM $em | ||
return |
protected Router,Symfony\Component\Routing $symfonyRouter | ||
return |