symfony
Session control Various controllers at the same page in Symfony 2?
i\'m trying to control the session to forbid the access to some pages of my web app. The way is simple, a boolean session variable. The thing is there\'s one page for every action, but, i think is not[详细]
2023-04-08 07:46 分类:问答Ajax and Jquery in Symfony
I\'m a begin开发者_如何学Cner in Symfony (version 2), I have a project achieved with plain basic PHP, and now I\'m redoing my pages in dealing with Symfony framework, and arrived to my jquery ajax fun[详细]
2023-04-08 06:41 分类:问答ErrorException: Catchable Fatal Error: Object of class could not be converted to string - Caused by dropdown menu but why?
I have the following code, which retrieves the page slugs from the database which are needed to then create a related sub page:[详细]
2023-04-08 06:09 分类:问答"Edit profile" form is not populated using FOSUserBundle
I have User entity with properties like name, address, and I want these fields to be editable on \"edit profile\" page. Sounds easy, but I couldn\'t make it work following official documentation. My f[详细]
2023-04-08 01:16 分类:问答Symfony2 change validation group based on field value
I have controller action like this: public function createAction() { $entity= new Client(); $request = $this->getRequest();[详细]
2023-04-08 01:06 分类:问答Symfony2 app/console --env throws no envirorment name
I\'m working with symfony2 and while migrating from Beta2 version to the current one I messed up with some environment configuration.[详细]
2023-04-07 18:49 分类:问答Problems with inheritance with Symfony2, Doctrine2
I edited some mistakes and details... Well, I have been trying to create a inheritance with Product as parent and Film and Book as childs. Checking online and the official documentation didn\'t solve[详细]
2023-04-07 16:52 分类:问答Problem with symfony2 schema yaml: unable to get relationships working
I have two entities: User and Student. Following is the yaml schema: ABC\\UserBundle\\Entity\\User: type: entity[详细]
2023-04-07 16:26 分类:问答Doctrine2 fetching rows that have manyToMany association by QueryBuilder
everyone. I have 2 entities City and POI. Mapping looks like this: class City { /** * @ORM\\ManyToMany(targetEntity=\"POI\", mappedBy=\"cities\")[详细]
2023-04-07 15:42 分类:问答Facebook + UserBundle authentication with symfony2
I\'m trying to authenticate my users via facebook or userbundle on symfony2 Here\'s what I did so far (and it works, although not as I want):[详细]
2023-04-07 13:40 分类:问答