Свойство | Тип | Описание | |
---|---|---|---|
$container | Symfony\Component\DependencyInjection\ContainerInterface |
Метод | Описание | |
---|---|---|
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 | |
Результат | mixed |
public static getPageRoutePath ( $path ) : string | ||
$path | ||
Результат | string |
public jsonPageIsActive ( $jsonString ) : boolean | ||
$jsonString | ||
Результат | 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 | ||
Результат |
public matchContentRouteRequest ( |
||
$request | ||
Результат |
public static replaceSlugInPath ( $path, $id, $slug ) : mixed | ||
$path | ||
$id | ||
$slug | ||
Результат | 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 | |
Результат | mixed |
public unserializePageSnapshotData ( Networking\InitCmsBundle\Model\PageSnapshotInterface $pageSnapshot, boolean $unserializeTranslations = true ) : Networking\InitCmsBundle\Model\PageInterface | ||
$pageSnapshot | Networking\InitCmsBundle\Model\PageSnapshotInterface | |
$unserializeTranslations | boolean | |
Результат | Networking\InitCmsBundle\Model\PageInterface |