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\Util; | |
use Doctrine\ORM\QueryBuilder; | |
/** | |
* Pagination | |
*/ | |
class Pagination implements \Countable, \Iterator |
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
;(function ($) { | |
/** | |
* Event for collection | |
*/ | |
function CollectionEvent(element) | |
{ | |
var status = true; | |
/** | |
* Get element |
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
;(function(){ | |
/** | |
* Event dispatcher system | |
*/ | |
function EventDispatcher() | |
{ | |
var _listeners = {}; | |
/** | |
* Add listener |
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\Imagine\Filter; | |
use Imagine\Image\BoxInterface; | |
use Imagine\Image\PointInterface; | |
use Imagine\Image\Point; | |
/** | |
* Common box container, for allowed set width or height is zero |
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\Model; | |
use Symfony\Component\HttpFoundation\File\UploadedFile; | |
/** | |
* Abstract class for control attachments model (Image, flash, other files) | |
* | |
* For upload files in your entity please usage ORM\HasLifecycleCallbacks (preUpdate, prePersist) |
NewerOlder