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
.clearform{ | |
display:inline-block; | |
margin-left:-16px; | |
cursor:pointer; | |
width:10px; | |
height:10px; | |
background-image:url('/close.gif'); | |
-webkit-box-shadow: 0px 0px 10px 5px #fff ; | |
} |
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 | |
class My_Form_Template extends My_Form | |
{ | |
public function init() | |
{ | |
parent::init(); | |
$this->addElements(array( | |
$this->createElement(self::TYPE_MULTICHECKBOX, 'checks', array( |
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 | |
class My_Form_Template extends My_Form | |
{ | |
public function init() | |
{ | |
parent::init(); | |
$this->addElements(array( | |
$this->createElement(self::TYPE_MULTICHECKBOX, 'checks', array( |
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
# get the submodule initially | |
git submodule add ssh://bla submodule_dir | |
git submodule init | |
# time passes, submodule upstream is updated | |
# and you now want to update | |
# change to the submodule directory | |
cd submodule_dir |
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 MyModule; | |
use Zend\ModuleManager\ModuleManager; | |
class Module | |
{ | |
public function init(ModuleManager $moduleManager) | |
{ | |
$sharedEvents = $moduleManager->getEventManager()->getSharedManager(); |
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 Album\Model; | |
use Zend\ServiceManager\ServiceManager; | |
use Zend\ServiceManager\ServiceManagerAwareInterface; | |
class Album implements ServiceManagerAwareInterface | |
{ | |
protected $serviceManager; |
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
routes.login.type = "Zend_Controller_Router_Route_Static" | |
routes.login.route = login.html | |
routes.login.defaults.module = default | |
routes.login.defaults.controller = auth | |
routes.login.defaults.action = login |
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
use Zend\View\Model\ViewModel; | |
[...] | |
// within the constructor | |
$this->viewmodel = new ViewModel(); | |
$this->viewmodel->setVariable('myobj', $this); // object assigned to view model will be available | |
// within the view script using $this->myobj | |
[...] | |
public function render() |
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 Application\Test; | |
use ZFTool\Diagnostics\Test\AbstractTest; | |
use ZFTool\Diagnostics\Result\Success; | |
use ZFTool\Diagnostics\Result\Failure; | |
use ZFTool\Diagnostics\Result\Warning; | |
class Is64Bit |
OlderNewer