Property | Type | Description | |
---|---|---|---|
$container | Symfony\Component\DependencyInjection\ContainerInterface |
Method | Description | |
---|---|---|
camelize ( string $property ) : string | Camelize a string | |
getFieldValue ( Networking\InitCmsBundle\Model\PageInterface $object, $fieldName, null $method = null ) : mixed | Fetch the variables from the given content type object | |
getPageRoutePath ( $path ) : string | ||
getParameter ( $id ) : mixed | ||
getService ( $id ) : object | ||
jsonPageIsActive ( $jsonString ) : boolean | Returns if a page is active or inactive based on json string from page snapshot | |
makePageSnapshot ( Networking\InitCmsBundle\Model\PageInterface $page ) | Create a snapshot of a given page. | |
makeTranslationCopy ( Networking\InitCmsBundle\Model\PageInterface $page, $locale ) : |
create a copy of a given page object in a given locale | |
matchContentRouteRequest ( |
Fills the request object with the content route parameters if found | |
replaceSlugInPath ( $path, $id, $slug ) : mixed | ||
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null ) | ||
setFieldValue ( Networking\InitCmsBundle\Model\PageInterface $object, $fieldName, $value, null $method = null ) : mixed | Set the variables to the given content type object | |
unserializePageSnapshotData ( Networking\InitCmsBundle\Model\PageSnapshotInterface $pageSnapshot, boolean $unserializeTranslations = true ) : Networking\InitCmsBundle\Model\PageInterface | Unserialize the PageSnapshot data into a page object |
public static getFieldValue ( Networking\InitCmsBundle\Model\PageInterface $object, $fieldName, null $method = null ) : mixed | ||
$object | Networking\InitCmsBundle\Model\PageInterface | |
$fieldName | ||
$method | null | |
return | mixed |
public static getPageRoutePath ( $path ) : string | ||
$path | ||
return | string |
public jsonPageIsActive ( $jsonString ) : boolean | ||
$jsonString | ||
return | boolean |
public makePageSnapshot ( Networking\InitCmsBundle\Model\PageInterface $page ) | ||
$page | Networking\InitCmsBundle\Model\PageInterface |
public makeTranslationCopy ( Networking\InitCmsBundle\Model\PageInterface $page, $locale ) : |
||
$page | Networking\InitCmsBundle\Model\PageInterface | |
$locale | ||
return |
public matchContentRouteRequest ( |
||
$request | ||
return |
public static replaceSlugInPath ( $path, $id, $slug ) : mixed | ||
$path | ||
$id | ||
$slug | ||
return | mixed |
public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null ) | ||
$container | Symfony\Component\DependencyInjection\ContainerInterface |
public static setFieldValue ( Networking\InitCmsBundle\Model\PageInterface $object, $fieldName, $value, null $method = null ) : mixed | ||
$object | Networking\InitCmsBundle\Model\PageInterface | |
$fieldName | ||
$value | ||
$method | null | |
return | mixed |
public unserializePageSnapshotData ( Networking\InitCmsBundle\Model\PageSnapshotInterface $pageSnapshot, boolean $unserializeTranslations = true ) : Networking\InitCmsBundle\Model\PageInterface | ||
$pageSnapshot | Networking\InitCmsBundle\Model\PageSnapshotInterface | |
$unserializeTranslations | boolean | |
return | Networking\InitCmsBundle\Model\PageInterface |