This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //src\GG\AccountingBundle\Entity\Permission.php | |
| /** | |
| * @author nezuvian | |
| * @created 2012-10-03 17:13 | |
| * @filename Permissions.php | |
| */ | |
| namespace GG\AccountingBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Acme\DemoBundle\Controller; | |
| use Sonata\AdminBundle\Controller\CRUDController as Controller; | |
| use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; | |
| use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
| class DemoAdminController extends Controller | |
| { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Diretto\AuctionBundle\Validator\Constraints; | |
| use Symfony\Component\Validator\Constraint; | |
| /** | |
| * @Annotation | |
| */ | |
| class LessThanField extends Constraint | |
| { | |
| public $message = "A két mező értéke nem egyezik meg"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "installed_packages": | |
| [ | |
| "CTags", | |
| "CTags for PHP", | |
| "Dotfiles Syntax Highlighting", | |
| "FileTemplates", | |
| "Git", | |
| "JSLint", | |
| "Package Control", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container"> | |
| <div class="logo"> | |
| <div class="wrap-outer"> | |
| <div class="wrap-inner"> | |
| <div class="slogan"> | |
| <span>Making</span> | |
| <hr> | |
| <span>Websites</span> | |
| <hr> | |
| <span>Better</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container"> | |
| <div class="logo"> | |
| <div class="wrap-outer"> | |
| <div class="wrap-inner"> | |
| <div class="slogan"> | |
| <span>Making</span> | |
| <hr> | |
| <span>Websites</span> | |
| <hr> | |
| <span>Better</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $entity = new Entity(); | |
| $entity->setStuff("stuff"); | |
| $form = $this->createForm(new EntityType(), $entity); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Created by JetBrains PhpStorm. | |
| * User: nezuvian | |
| * Date: 2012.08.17. | |
| * Time: 10:51 | |
| * Filename: WatermarkFilterLoader.php | |
| */ | |
| namespace Diginin\WatermarkBundle\Imagine\Filter\Loader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <service id="liip_imagine.filter.loader.my_custom_filter" class="Acme\ImagineBundle\Imagine\Filter\Loader\MyCustomFilterLoader"> | |
| <tag name="liip_imagine.filter.loader" loader="my_custom_filter" /> | |
| </service> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $queryBuilder->andWhere( | |
| $queryBuilder->expr()->lte( | |
| $queryBuilder()->expr()->prod( | |
| $queryBuilder->expr()->quot($queryBuilder->getRootAlias().'.rating_sum', $queryBuilder->getRootAlias().'.ratings_num'), 100 | |
| ), | |
| ':rating_sum_from' | |
| ) | |
| ) | |
| ->setParameter('rating_sum_from', '%'.$values['value'].'%'); |
NewerOlder