This file contains 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 SomeModule; | |
// Load the appropiate interfaces. You can use every one inside of Zend\ModuleManager\Feature\...Interface | |
use Zend\ModuleManager\Feature\AutoloaderProviderInterface; | |
use Zend\ModuleManager\Feature\ConsoleBannerProviderInterface; | |
// we would have to use here all (but that's to long!) | |
class Module implements AutoloaderProviderInterface, ConsoleBannerProviderInterface | |
{ |
This file contains 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 LispBase\Db\Adapter; | |
use Zend\Db\Adapter\Adapter as ZendAdapter; | |
use Zend\Db\Sql\Select; | |
class Adapter extends ZendAdapter | |
{ | |
private function getSqlString ($sql) |
This file contains 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 LispLogbook\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Doctrine\Common\Collections\Collection; | |
/** | |
* @ORM\Table(name="pstEntry") | |
* @ORM\Entity |
This file contains 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
#!/usr/bin/env php | |
<?php | |
/** | |
* Zend Framework (http://framework.zend.com/) | |
* | |
* @link http://github.com/zendframework/zf2 for the canonical source repository | |
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | |
* @license http://framework.zend.com/license/new-bsd New BSD License | |
*/ |
This file contains 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 MyNamespace\View\Strategy; | |
use Zend\EventManager\ListenerAggregateInterface; | |
use Zend\ServiceManager\ServiceLocatorAwareInterface; | |
use Zend\ServiceManager\ServiceLocatorInterface; | |
use Zend\View\ViewEvent; | |
class MyStrategy implements ListenerAggregateInterface, ServiceLocatorAwareInterface |
This file contains 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 ZfcDatagrid\DataSource; | |
use ZfcDatagrid\Filter; | |
use ZfcDatagrid\DataSource\Doctrine2\Paginator as PaginatorAdapter; | |
use ZfcDatagrid\Column; | |
use Doctrine\ORM; | |
use Doctrine\ORM\Query\Expr; | |
class Doctrine2 extends AbstractDataSource |
This file contains 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 Zend\ServiceManager; | |
class AbstractServiceManagerAware implements ServiceLocatorAwareInterface | |
{ | |
/** | |
* | |
* @var ServiceLocatorInterface | |
*/ |
This file contains 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 ZfcDatagrid\Column; | |
use ZfcDatagrid\Filter; | |
use ZfcDatagrid\Column\Formatter\AbstractFormatter; | |
abstract class AbstractColumn | |
{ | |
protected $label; |
This file contains 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 ZfcDatagrid\Renderer; | |
use ZfcDatagrid\Datagrid; | |
use Zend\Paginator\Paginator; | |
use Zend\View\Model\ViewModel; | |
use Zend\Mvc\MvcEvent; | |
use Zend\I18n\Translator\Translator; | |
use Zend\Http\PhpEnvironment\Request as HttpRequest; | |
use Zend\Console\Request as ConsoleRequest; |
OlderNewer