You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BusinessEntityPagePattern class resolves to the following class: Victoire\Bundle\BusinessEntityPageBundle\Entity\BusinessEntityPagePattern.
Did you forget to add a corresponding use statement?
$businessEntityHelper = $this->get('victoire_core.helper.business_entity_helper');
$businessProperties = array();
//if the page is a business entity pageif ($pageinstanceof BusinessEntityPagePattern) {
//get the id of the business entity$businessEntityId = $page->getBusinessEntityName();
//we can use the business entity properties on the seo$businessEntity = $businessEntityHelper->findById($businessEntityId);
Le Mercredi 19 novembre 2014 21h15, Leny BERNARD [email protected] a écrit :
in Bundle/I18nBundle/Controller/I18nController.php, line 41
The BusinessEntityPagePattern class resolves to the following class: Victoire\Bundle\BusinessEntityPageBundle\Entity\BusinessEntityPagePattern.
Did you forget to add a corresponding use statement?
$businessEntityHelper = $this->get('victoire_core.helper.business_entity_helper'); $businessProperties = array(); //if the page is a business entity page if ($page instanceof BusinessEntityPagePattern) { //get the id of the business entity $businessEntityId = $page->getBusinessEntityName(); //we can use the business entity properties on the seo $businessEntity = $businessEntityHelper->findById($businessEntityId);
Posted from SensioLabsInsight
—
Reply to this email directly or view it on GitHub.
in Bundle/I18nBundle/Controller/I18nController.php, line 41
Posted from SensioLabsInsight
The text was updated successfully, but these errors were encountered: