2017 © Pedro PelĂĄez
 

library config-params

Gettery pro informace z contextu nette aplikace.

image

pikl-cz/config-params

Gettery pro informace z contextu nette aplikace.

  • Sunday, May 28, 2017
  • by pikl
  • Repository
  • 1 Watchers
  • 0 Stars
  • 152 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 38 % Grown

The README.md

config-params

Gettery pro zjiĆĄtěnĂ­ v jakĂœch mĂłdech je nette aplikace., (*1)

instalace

composer require pikl-cz/config-params

implementace v config.neon

extensions:
    - Pikl\DI\ConfigParamsExtension

pouĆŸitĂ­

use Pikl\ConfigParams;

class BasePresenter extends Nette\Application\UI\Presenter {

    /** @var Pikl\ConfigParams */
    public $configParams;

    public function injectConfigParams(ConfigParams $configParams) {
            $this->configParams = $configParams;
        }

    function startup() {
        parent::startup();
        $this->template->debugMode = $this->configParams->getDebugMode();
    }

}

The Versions

28/05 2017

dev-master

9999999-dev

Gettery pro informace z contextu nette aplikace.

  Sources   Download

MIT

The Requires

 

by Filip Jan Pikl

config nette params

10/05 2017

1.0.0

1.0.0.0

Gettery pro informace z contextu nette aplikace.

  Sources   Download

MIT

The Requires

 

by Filip Jan Pikl

config nette params