@@ -1,15 +1,15 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Global Configuration Override |
|
| 4 | - * |
|
| 5 | - * You can use this file for overriding configuration values from modules, etc. |
|
| 6 | - * You would place values in here that are agnostic to the environment and not |
|
| 7 | - * sensitive to security. |
|
| 8 | - * |
|
| 9 | - * @NOTE: In practice, this file will typically be INCLUDED in your source |
|
| 10 | - * control, so do not include passwords or other sensitive information in this |
|
| 11 | - * file. |
|
| 12 | - */ |
|
| 3 | + * Global Configuration Override |
|
| 4 | + * |
|
| 5 | + * You can use this file for overriding configuration values from modules, etc. |
|
| 6 | + * You would place values in here that are agnostic to the environment and not |
|
| 7 | + * sensitive to security. |
|
| 8 | + * |
|
| 9 | + * @NOTE: In practice, this file will typically be INCLUDED in your source |
|
| 10 | + * control, so do not include passwords or other sensitive information in this |
|
| 11 | + * file. |
|
| 12 | + */ |
|
| 13 | 13 | |
| 14 | 14 | return [ |
| 15 | 15 | |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | if (!$e->getViewModel()->terminate()) { |
| 112 | 112 | $entityManager = $this->services->get('Doctrine\ORM\EntityManager'); |
| 113 | 113 | $e->getViewModel() |
| 114 | - ->setVariable('modules_list', $entityManager->getRepository('Application\Entity\ModuleList')->findBy([], ['id' => 'DESC'])); |
|
| 114 | + ->setVariable('modules_list', $entityManager->getRepository('Application\Entity\ModuleList')->findBy([], ['id' => 'DESC'])); |
|
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |
@@ -33,8 +33,8 @@ |
||
| 33 | 33 | $services = $serviceLocator->getServiceLocator(); |
| 34 | 34 | $moduleList = []; |
| 35 | 35 | foreach ($services->get('Doctrine\ORM\EntityManager') |
| 36 | - ->getRepository('Application\Entity\ModuleList') |
|
| 37 | - ->findAll() as $module) { |
|
| 36 | + ->getRepository('Application\Entity\ModuleList') |
|
| 37 | + ->findAll() as $module) { |
|
| 38 | 38 | $moduleList[] = $module->getModuleName(); |
| 39 | 39 | } |
| 40 | 40 | |
@@ -38,9 +38,9 @@ |
||
| 38 | 38 | $services = $serviceLocator->getServiceLocator(); |
| 39 | 39 | $config = $services->get('Config'); |
| 40 | 40 | $captchaAdapterKey = $services->get('Application') |
| 41 | - ->getMvcEvent() |
|
| 42 | - ->getRequest() |
|
| 43 | - ->getQuery('captcha_adapter', 0); |
|
| 41 | + ->getMvcEvent() |
|
| 42 | + ->getRequest() |
|
| 43 | + ->getQuery('captcha_adapter', 0); |
|
| 44 | 44 | |
| 45 | 45 | $form = new CaptchaForm($config['learnzf2_captcha_config'], $captchaAdapterKey); |
| 46 | 46 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | // Paginate filtered data |
| 29 | 29 | $paginator = new Paginator(new ArrayAdapter($data)); |
| 30 | 30 | $paginator->setCurrentPageNumber($page) |
| 31 | - ->setItemCountPerPage(self::ITEM_PER_PAGE); |
|
| 31 | + ->setItemCountPerPage(self::ITEM_PER_PAGE); |
|
| 32 | 32 | |
| 33 | 33 | return new ViewModel(array_merge($this->params()->fromQuery(), ['paginator' => $paginator])); |
| 34 | 34 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | 'reloadService' => 'LearnZF2Themes\Service\ReloadService', |
| 46 | 46 | ], |
| 47 | 47 | ], |
| 48 | - 'theme' => [ |
|
| 48 | + 'theme' => [ |
|
| 49 | 49 | 'name' => 'default', |
| 50 | 50 | ], |
| 51 | 51 | ]; |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Zend Framework (http://framework.zend.com/) |
|
| 4 | - * |
|
| 5 | - * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository |
|
| 6 | - * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) |
|
| 7 | - * @license http://framework.zend.com/license/new-bsd New BSD License |
|
| 8 | - */ |
|
| 3 | + * Zend Framework (http://framework.zend.com/) |
|
| 4 | + * |
|
| 5 | + * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository |
|
| 6 | + * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) |
|
| 7 | + * @license http://framework.zend.com/license/new-bsd New BSD License |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * This autoloading setup is really more complicated than it needs to be for most |