Свойство | Type | Description | |
---|---|---|---|
$container | Symfony\Component\DependencyInjection\ContainerInterface |
Méthode | 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 | |
Résultat | mixed |
public static getPageRoutePath ( $path ) : string | ||
$path | ||
Résultat | string |
public jsonPageIsActive ( $jsonString ) : boolean | ||
$jsonString | ||
Résultat | 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 | ||
Résultat |
public matchContentRouteRequest ( |
||
$request | ||
Résultat |
public static replaceSlugInPath ( $path, $id, $slug ) : mixed | ||
$path | ||
$id | ||
$slug | ||
Résultat | 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 | |
Résultat | mixed |
public unserializePageSnapshotData ( Networking\InitCmsBundle\Model\PageSnapshotInterface $pageSnapshot, boolean $unserializeTranslations = true ) : Networking\InitCmsBundle\Model\PageInterface | ||
$pageSnapshot | Networking\InitCmsBundle\Model\PageSnapshotInterface | |
$unserializeTranslations | boolean | |
Résultat | Networking\InitCmsBundle\Model\PageInterface |