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) |
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
;(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
;(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
<?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
<?php | |
namespace Acme\DemoBundle\HttpFoundation; | |
use Symfony\Component\HttpFoundation\Response; | |
/** | |
* Response for download excel file | |
*/ | |
class ExcelFileResponse extends Response |
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 | |
interface iA | |
{ | |
public function someA(); | |
public function thisIs(); | |
} | |
interface iB | |
{ |
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\Demo\Monolog\Handler; | |
use Monolog\Handler\StreamHandler as BaseStreamHandler; | |
use Symfony\Component\Filesystem\Filesystem; | |
/** | |
* Auto create log directory, if directory not found. | |
* The base stream handler in monolog package not auto created |
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\Demo; | |
/** | |
* Parsed from http://timezone.help.ch/ | |
* | |
* @author Vitaliy Zhuk <[email protected]> | |
*/ | |
class CountryContinent |
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
/** | |
ds18b20.c - work with temperature sensor DS18B20 | |
Author: Vitaiy Zhuk | |
*/ | |
#include <util/delay.h> | |
#include "ds18b20.h" | |
/** |
OlderNewer