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 Sabel; | |
abstract class AbstractController | |
{ | |
protected $diContainer; | |
public function __construct(DiContainer $diContainer){ | |
$this->diContainer = $diContainer; | |
} |
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 | |
abstract class AbstractValue | |
{ | |
protected $value; | |
private function __construct(){} | |
protected function filter() | |
{ |
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
# Created by Zend Server | |
<VirtualHost *:${port}> | |
# Make ZF2 path available as environment variable | |
SetEnv ZF2_PATH /usr/local/zendsvr6/share/ZendFramework2/library | |
# Tell apache to serve index.php if the requested resource doesn't exist. | |
# This allows static files to be served directly while "ZF-friendly URLS" | |
# are sent to index.php |
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
PGM PARM(&INSPLF &INJOB &INUSER &INJOBN &INSPLN + | |
&EXISTS) | |
/* Thanks to Scott Campbell and Larry Nies */ | |
/* Incoming parms */ | |
DCL VAR(&INSPLF) TYPE(*CHAR) LEN(10) | |
DCL VAR(&INJOB) TYPE(*CHAR) LEN(10) | |
DCL VAR(&INUSER) TYPE(*CHAR) LEN(10) | |
DCL VAR(&INJOBN) TYPE(*CHAR) LEN(6) |
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
$options = array("i5_naming" => DB2_I5_NAMING_ON, "i5_libl" => 'WM300DV03D WM300QA03D WM300QA00D TE300QA00D WM300DV03P WM300QA03P WM300ONTP WM300BASP'); | |
$adapter = new Adapter(array( | |
'driver' => 'IbmDb2', | |
'platform' => 'IbmDb2', | |
'platform_options' => array('quote_identifiers' => false), | |
'database' => '*LOCAL', | |
'username' => 'PROFILE', | |
'password' => 'PASSWORD', | |
'driver_options' => $options | |
)); |
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
use Zend\File\Transfer\Adapter\Http; | |
$adapter = new Http(); | |
//$size = new Size(array('min'=>2000)); //minimum bytes filesize | |
//$adapter->setValidators(array($size), $File['name']); | |
NewerOlder