메소드 | 설명 | |
---|---|---|
adminAction ( ) : |
Redirect to the admin dashboard | |
adminNavbarAction ( |
Deliver the admin navigation bar via ajax | |
changeAdminLanguageAction ( |
Change the language in the admin area (currently not implemented in the template) | |
changeLanguageAction ( |
Change language in the front end area | |
getActiveEnd ( $page ) : Datetime | ||
getActiveStart ( $page ) : DateTime | Get activeFrom | |
getDraftParameters ( |
||
getLiveParameters ( |
||
getPageHelper ( ) : |
||
getPageParameters ( |
||
getRedirect ( |
Check if page is an alias for another page | |
getSnapshotVisibility ( Networking\InitCmsBundle\Model\PageSnapshotInterface $page ) : mixed | ||
homeAction ( |
Show the home page (start page) for given locale | |
indexAction ( |
Render the page | |
isSnapshotActive ( Networking\InitCmsBundle\Model\PageSnapshotInterface $page ) : boolean | ||
liveAction ( |
Render the Live version of a page | |
pageNotFoundAction ( ) : |
||
translationNotFoundAction ( |
||
viewDraftAction ( |
View the website in Draft mode | |
viewLiveAction ( |
View the website in Live mode |
메소드 | 설명 | |
---|---|---|
changeViewMode ( |
Change the page viewing mode to live or draft | |
getAdminPool ( ) : boolean | Sonata\AdminBundle\Admin\Pool | ||
getTranslationRoute ( $referrer, $locale ) : array | Symfony\Cmf\Component\Routing\RouteObjectInterface | get the route for the translation of a given page, the referrer page |
public adminAction ( ) : |
||
리턴 |
public changeAdminLanguageAction ( |
||
$request | ||
$locale | ||
리턴 |
public changeLanguageAction ( |
||
$request | ||
$locale | ||
리턴 |
protected changeViewMode ( |
||
$request | ||
$status | ||
$path | ||
리턴 |
protected getAdminPool ( ) : boolean | Sonata\AdminBundle\Admin\Pool | ||
리턴 | boolean | Sonata\AdminBundle\Admin\Pool |
public getDraftParameters ( |
||
$request | ||
$page | Networking\InitCmsBundle\Model\PageInterface |
public getLiveParameters ( |
||
$request | ||
$pageSnapshot | Networking\InitCmsBundle\Model\PageSnapshot |
public getPageHelper ( ) : |
||
리턴 |
public getPageParameters ( |
||
$request |
public getRedirect ( |
||
$request | ||
$page | Networking\InitCmsBundle\Model\PageInterface | |
리턴 | boolean | |
public getSnapshotVisibility ( Networking\InitCmsBundle\Model\PageSnapshotInterface $page ) : mixed | ||
$page | Networking\InitCmsBundle\Model\PageSnapshotInterface | |
리턴 | mixed |
protected getTranslationRoute ( $referrer, $locale ) : array | Symfony\Cmf\Component\Routing\RouteObjectInterface | ||
$referrer | ||
$locale | ||
리턴 | array | Symfony\Cmf\Component\Routing\RouteObjectInterface |
public homeAction ( |
||
$request | ||
리턴 | array |
public indexAction ( |
||
$request | ||
리턴 |
public isSnapshotActive ( Networking\InitCmsBundle\Model\PageSnapshotInterface $page ) : boolean | ||
$page | Networking\InitCmsBundle\Model\PageSnapshotInterface | |
리턴 | boolean |
public liveAction ( |
||
$request | ||
리턴 |
public pageNotFoundAction ( ) : |
||
리턴 |
public translationNotFoundAction ( |
||
$request | ||
리턴 |
public viewDraftAction ( |
||
$request | ||
$locale | string | |
리턴 |
public viewLiveAction ( |
||
$request | ||
$locale | string | |
리턴 |