Skip to content

Instantly share code, notes, and snippets.

View redstar504's full-sized avatar
🇨🇦

Brayden redstar504

🇨🇦
View GitHub Profile
if($plan['id'] == Plan::PERSONAL){
$tooltips = array(
array('id' => '#tooltip_0',
'fallback' => Yii::t('tooltip', 'Your eEndorsements web page is where all of your references will populate to and where you.ll be able to show off your resume, picture, and contact information and provide an objective/goal to display your motivation.')
),
array('id' => '#tooltip_1',
'fallback' => Yii::t('tooltip', 'Receive as many references to your eEndorsements Web Page and send out as many endorsement requests (surveys) as you would like. No limits on the amount you send out or receive.')
),
array('id' => '#tooltip_2',
'fallback' => Yii::t('tooltip', 'Your own request link gives you the ability to send requests from your own email (outside our sytem) to multiple email addresses or request references on your blog, or directly on your social media accounts.')
An exception has been thrown during the rendering of a template ("[Semantical Error] line 0, col 71 near 'created DESC': Error: Class Site\FrontendBundle\Entity\PriceStrategy has no field or association named created") in SiteBackendBundle:PriceStrategy:index.html.twig at line 46.
An exception has been thrown during the rendering of a template ("[Semantical Error] line 0, col 71 near 'created DESC': Error: Class Site\FrontendBundle\Entity\PriceStrategy has no field or association named created") in SiteBackendBundle:PriceStrategy:index.html.twig at line 46.
Error:
An exception has been thrown during the rendering of a template ("[Semantical Error] line 0, col 71 near 'created DESC': Error: Class Site\FrontendBundle\Entity\PriceStrategy has no field or association named created") in SiteBackendBundle:PriceStrategy:index.html.twig at line 46.
Error:
An exception has been thrown during the rendering of a template ("[Semantical Error] line 0, col 71 near 'created DESC': Error: Class Site\FrontendBundle\Entity\PriceStrategy has no field or association named created") in SiteBackendBundle:PriceStrategy:index.html.twig at line 46.
Error:
An exception has been thrown during the rendering of a template ("[Semantical Error] line 0, col 71 near 'created DESC': Error: Class Site\FrontendBundle\Entity\PriceStrategy has no field or association named created") in SiteBackendBundle:PriceStrategy:index.html.twig at line 46.
Error:
An exception has been thrown during the rendering of a template ("[Semantical Error] line 0, col 71 near 'created DESC': Error: Class Site\FrontendBundle\Entity\PriceStrategy has no field or association named created") in SiteBackendBundle:PriceStrategy:index.html.twig at line 46.
<?php
namespace Site\FrontendBundle\Entity;
use FOS\UserBundle\Entity\User as BaseUser;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
* @UniqueEntity({
class User extends BaseUser
{
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $phones;
public function __construct()
{
parent::__construct();
class User extends BaseUser
{
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $phones;
public function addPhone(\Site\FrontendBundle\Entity\UserPhone $phone)
{
$phone->setUser($this);