当前位置: 首页>>代码示例>>PHP>>正文


PHP Presenter::__construct方法代码示例

本文整理汇总了PHP中Nette\Application\UI\Presenter::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Presenter::__construct方法的具体用法?PHP Presenter::__construct怎么用?PHP Presenter::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Nette\Application\UI\Presenter的用法示例。


在下文中一共展示了Presenter::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct(EntityManager $entityManager, ILoginControlFactory $loginControlFactory, IRegistrationControlFactory $registrationControlFactory, SecurityManager $securityManager)
 {
     parent::__construct();
     $this->roleRepository = $entityManager->getRepository(Role::class);
     $this->registrationRepository = $entityManager->getRepository(Registration::class);
     $this->invitationRepository = $entityManager->getRepository(Invitation::class);
     $this->loginControlFactory = $loginControlFactory;
     $this->registrationControlFactory = $registrationControlFactory;
     $this->securityManager = $securityManager;
 }
开发者ID:venne,项目名称:venne,代码行数:10,代码来源:LoginPresenter.php

示例2: __construct

 /**
  * initial config
  */
 public function __construct()
 {
     parent::__construct();
     if (self::CACHE_ON) {
         if (!file_exists(self::IMG_CACHE_DIR)) {
             mkdir(self::IMG_CACHE_DIR);
         }
         $storage = new Nette\Caching\Storages\FileStorage(self::IMG_CACHE_DIR);
         $this->cache = new Nette\Caching\Cache($storage);
     }
 }
开发者ID:romanvlcek,项目名称:wifimap,代码行数:14,代码来源:BasePresenter.php

示例3: __construct

 public function __construct(Nette\DI\Container $sl)
 {
     parent::__construct();
     $sl->callInjects($this);
     $this->run(new Nette\Application\Request('Front:LinkGenerator', 'GET', array('action' => 'default')));
 }
开发者ID:kdyby,项目名称:selenium,代码行数:6,代码来源:LinkGeneratorPresenter.php

示例4: __construct

 /**
  * @param PageRepository $pageRepository
  */
 public function __construct(PageRepository $pageRepository)
 {
     parent::__construct();
     $this->pageRepository = $pageRepository;
 }
开发者ID:venne,项目名称:venne,代码行数:8,代码来源:ErrorPresenter.php

示例5: __construct

 public function __construct(DirRepository $database)
 {
     parent::__construct();
     $this->database = $database;
 }
开发者ID:Repticus,项目名称:CorpGuide,代码行数:5,代码来源:BasePresenter.php

示例6: __construct

 public function __construct(ILogger $logger)
 {
     parent::__construct();
     $this->logger = $logger;
 }
开发者ID:voonne,项目名称:web-project,代码行数:5,代码来源:ErrorPresenter.php

示例7: __construct

 public function __construct(ShoppingCart $shoppingCart)
 {
     parent::__construct();
     $this->shoppingCart = $shoppingCart;
 }
开发者ID:bagr001,项目名称:NAV_Shop,代码行数:5,代码来源:BasePresenter.php

示例8: __construct

 public function __construct(Nette\Http\Session $session)
 {
     parent::__construct();
     $this->session = $session;
 }
开发者ID:re1la2pse,项目名称:detinsky_projekt,代码行数:5,代码来源:BasePresenter.php

示例9: __construct

 public function __construct()
 {
     parent::__construct();
     $this->loadOptions();
 }
开发者ID:ptacekj,项目名称:nette-mrdka,代码行数:5,代码来源:BasePresenter.php

示例10: __construct

 public function __construct(Nette\DI\Container $context = NULL)
 {
     parent::__construct($context);
 }
开发者ID:rawac,项目名称:agenda,代码行数:4,代码来源:BasePresenter.php

示例11: __construct

 /**
  * @param \Nette\DI\Container
  * @param \Nette\ComponentModel\IComponent
  */
 public function __construct(\Nette\DI\Container $context, \Nette\ComponentModel\IComponent $component)
 {
     parent::__construct($context);
     $this->component = $component;
 }
开发者ID:nella,项目名称:testing,代码行数:9,代码来源:ControlPresenterMock.php

示例12: __construct

 public function __construct()
 {
     parent::__construct();
     $this->setPaths();
 }
开发者ID:petrparolek,项目名称:web_cms,代码行数:5,代码来源:BasePresenter.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     $this->submenu = new Brabijan\BootstrapUIComponents\Submenu\Control();
 }
开发者ID:Kotys,项目名称:eventor.io,代码行数:5,代码来源:BasePresenter.php

示例14: __construct

 public function __construct()
 {
     parent::__construct();
     $this->map = ['peci1/suggestinput' => 'peci1/nette-suggestinput', 'smasty/twitter-control' => 'smasty/twittercontrol', 'foowie/dependentselectbox' => 'foowie/dependentselectbox', 'lohini/framework' => 'lohini/framework', 'mikulas-dite/navigationpanel' => 'mikulas/nette-plugins-navigationpanel', 'jkuchar/pdfresponse' => 'jkuchar/pdfresponse', 'hostbox/nette-paypal-payment-buttons' => 'hostbox/nette-paypal-payment-buttons', 'rm/header' => 'romanmatyus/header', 'vojtech-dobes/nette-goto-panel' => 'vojtech-dobes/nette-goto-panel', 'jkuchar/multiplefileupload' => 'jkuchar/multiplefileupload', 'vojtech-dobes/composer-extension' => 'vojtech-dobes/nette-composer-extension', 'sodae/netrium-addons-twitter' => 'martinsadovy/netrium-addons-twitter', 'bazo/nette-neo4j-extension' => 'bazo/nette-neo4j-extension', 'nextras/datagrid' => 'nextras/datagrid', 'olicek/google-map-api' => 'olicek/googlemapapi', 'nella/forms-phone' => 'nella/forms-phone', 'milo/xdebug-trace-panel' => 'milo/xdebugtracepanel', 'vladahejda/livetranslator' => 'vladahejda/livetranslator', 'uestla/http-auth-extension' => 'uestla/httpauthextension', 'markette/gopay' => 'markette/gopay', 'vojtech-dobes/nette-multi-authenticator' => 'vojtech-dobes/nette-multi-authenticator', 'trunda/smf-menu' => 'trunda/smfmenu', 'h4kuna/gettext-latte' => 'h4kuna/gettext-latte', 'h4kuna/fio' => 'h4kuna/fio', 'rm/filemailer' => 'romanmatyus/filemailer', 'viliamkopecky/nette-ristretto' => 'viliamkopecky/netteristretto', 'rhrebecek/googlemapsimage' => 'rhrebecek/googlemapsimage', 'h4kuna/exchange' => 'h4kuna/exchange', 'vojtech-dobes/nette-forms-gpspicker' => 'vojtech-dobes/nette-forms-gpspicker', 'zeleznypa/nette-button-macros' => 'zeleznypa/nette-button-macros', 'zeleznypa/nette-session-debug-bar' => 'zeleznypa/nette-session-debug-bar', 'janmarek/webloader' => 'janmarek/webloader', 'kdyby/doctrine-cache' => 'kdyby/doctrinecache', 'kdyby/annotations' => 'kdyby/annotations', 'greeny/maillibrary' => 'greeny/maillibrary', 'o5/grido' => 'o5/grido', 'illagrenan/nette-facebook-connect' => 'illagrenan/nette-facebook-connect', 'mikulas/nette-google-oauth2' => 'mikulas/nette-google-oauth2', 'vojtech-dobes/extensions-list' => 'vojtech-dobes/nette-extensions-list', 'jsmitka/nette-xdebug-helper' => 'jsmitka/nette-xdebug-helper', 'foglcz/jsonrpc2' => 'foglcz/jsonrpc2', 'echo511/plupload' => 'echo511/plupload', 'voda/date-input' => 'voda/dateinput', 'jkuchar/bigfiletools' => 'jkuchar/bigfiletools', 'jasir/component-tree-panel' => 'jasir/componenttreepanel', 'voda/php-translator' => 'voda/php-translator', 'jasir/phpedpanel' => 'jasir/phpedpanel', 'foowie/presenterlinkpanel' => 'foowie/presenterlinkpanel', 'kdyby/bootstrap-form-renderer' => 'kdyby/bootstrapformrenderer', 'kdyby/forms-replicator' => 'kdyby/replicator', 'kdyby/curl' => 'kdyby/curl', 'kdyby/console' => 'kdyby/console', 'kdyby/doctrine' => 'kdyby/doctrine', 'kdyby/redis' => 'kdyby/redis', 'kdyby/autowired' => 'kdyby/autowired', 'kdyby/facebook' => 'kdyby/facebook', 'kdyby/events' => 'kdyby/events', 'kdyby/translation' => 'kdyby/translation', 'michalsvec/nette-opauth' => 'michalsvec/nette-opauth', 'kdyby/money' => 'kdyby/money', 'stekycz/cronner' => 'stekycz/cronner', 'kdyby/doctrine-money' => 'kdyby/doctrinemoney', 'venne/packages' => 'venne/packages', 'brabijan/images' => 'brabijan/images', 'vojtech-dobes/nette-signals-trait' => 'vojtech-dobes/nette-signals-trait', 'radekdostal/nette-datetimepicker' => 'radekdostal/nette-datetimepicker', 'radekdostal/nette-imageselectbox' => 'radekdostal/nette-imageselectbox', 'ipub/gravatar' => 'ipublikuj/gravatar', 'kdyby/github' => 'kdyby/github', 'kdyby/google' => 'kdyby/google', 'uestla/twigrid' => 'uestla/twigrid', 'krejcon3/checkboxtree' => 'krejcon3/checkboxtree', 'milo/github-api-nette' => 'milo/github-api-nette', 'kdyby/monolog' => 'kdyby/monolog', 'foglcz/ldap-authenticator' => 'foglcz/ldap-authenticator', 'nella/forms-datetime' => 'nella/forms-datetime', 'zenify/flash-message-component' => 'zenify/flashmessagecomponent', 'zenify/title-component' => 'zenify/titlecomponent', 'zenify/doctrine-behaviors' => 'zenify/doctrinebehaviors', 'nasext/sorting-control' => 'nasext/sortingcontrol', 'nasext/items-per-page' => 'nasext/itemsperpage', 'brabijan/nette-seo-components' => 'brabijan/nette-seo-components', 'majkl578/nette-identity-doctrine' => 'majkl578/nette-identity-doctrine', 'majkl578/nette-injects-extension' => 'majkl578/nette-injects-extension', 'vrtak-cz/newrelic-tracy' => 'vrtak-cz/newrelic-tracy', 'vrtak-cz/newrelic-nette' => 'vrtak-cz/newrelic-nette', 'kdyby/rabbitmq' => 'kdyby/rabbitmq', 'jkuchar/filedownloader' => 'jkuchar/filedownloader', 'lawondyss/cdnloader' => 'lawondyss/cdnloader', 'janpecha/leanmapper-extension' => 'janpecha/leanmapper-extension', 'zenify/doctrine-migrations' => 'zenify/doctrinemigrations', 'zenify/doctrine-methods-hydrator' => 'zenify/doctrinemethodshydrator', 'zenify/doctrine-filters' => 'zenify/doctrinefilters', 'zenify/doctrine-fixtures' => 'zenify/doctrinefixtures', 'nextras/static-router' => 'nextras/static-router', 'nextras/link-factory' => 'nextras/link-factory', 'nella/simple-hash-authenticator' => 'nella/simple-hash-authenticator', 'ondrs/hi' => 'ondrs/hi', 'ondrs/upload-manager' => 'ondrs/upload-manager', 'bauer01/fake-login' => 'bauer01/fake-login', 'olicek/form-selectize' => 'olicek/form-selectize', 'ipub/permissions' => 'ipublikuj/permissions', 'hostbox/api-payu-nette-bridge' => 'hostbox/api-payu-nette-bridge', 'meridius/yadup' => 'meridius/yadup', 'nella/forms-signal-control' => 'nella/forms-signal-control', 'nedryse/latte-template-macroset' => 'nedryse/latte-template-macroset', 'webchemistry/images' => 'webchemistry/images', 'carrooi/security' => 'carrooi/nette-security', 'carrooi/assets' => 'carrooi/nette-assets', 'carrooi/cloner' => 'carrooi/nette-cloner', 'carrooi/favorites' => 'carrooi/nette-favorites', 'ipub/form-slug' => 'ipublikuj/form-slug', 'ipub/form-datetime' => 'ipublikuj/form-datetime', 'ipub/mobile-detect' => 'ipublikuj/mobile-detect', 'ipub/assets-loader' => 'ipublikuj/assets-loader', 'carrooi/addressable' => 'carrooi/nette-addressable', 'carrooi/labels' => 'carrooi/nette-labels', 'alnux/nette-breadcrumb' => 'alnux/nette-breadcrumb', 'dotblue/nette-webimages' => 'dotblue/nette-webimages', 'minetro/recaptcha' => 'minetro/recaptcha', 'ipub/flickr' => 'ipublikuj/flickr', 'ipub/twitter' => 'ipublikuj/twitter', 'ipub/confirmation-dialog' => 'ipublikuj/confirmation-dialog', 'ipub/visual-paginator' => 'ipublikuj/visual-paginator', 'ipub/images' => 'ipublikuj/images', 'ipub/flash-messages' => 'ipublikuj/flash-messages', 'juniwalk/shield' => 'juniwalk/shield', 'minetro/latte-email' => 'minetro/latte-email', 'minetro/mobilni-platby' => 'minetro/mobilni-platby', 'minetro/events' => 'minetro/events', 'minetro/thumbator' => 'minetro/thumbator', 'minetro/social' => 'minetro/social', 'minetro/forms' => 'minetro/forms', 'minetro/imap' => 'minetro/imap', 'wodcz/nette-honeypot' => 'wodcz/nettehoneypot', 'kollarovic/admin' => 'kollarovic/admin', 'zemistr/l10n-nette-translator' => 'zemistr/l10n-nette-translator', 'minetro/cli-http-extension' => 'minetro/cli-http-extension', 'kollarovic/shopping-cart' => 'kollarovic/shoppingcart', 'minetro/latte-parsedown' => 'minetro/latte-parsedown', 'minetro/latte-parsedown-extra' => 'minetro/latte-parsedown-extra', 'kdyby/elastic-search' => 'kdyby/elasticsearch', 'kdyby/wkhtmltopdf' => 'kdyby/wkhtmltopdf', 'kdyby/fake-session' => 'kdyby/fakesession', 'minetro/deployer-extension' => 'minetro/deployer-extension', 'fakerino/nette-fakerino' => 'fakerino/nette-fakerino', 'carrooi/nette-menu' => 'carrooi/nette-menu', 'vaclav-sir/n-browser-kit' => 'vaclavsir/nbrowserkit', 'webchemistry/forms' => 'webchemistry/forms', 'webchemistry/forms-controls' => 'webchemistry/forms-controls', 'webchemistry/forms-multiplier' => 'webchemistry/forms-multiplier', 'webchemistry/forms-doctrine' => 'webchemistry/forms-doctrine', 'sunfoxcz/date-utils' => 'sunfoxcz/date-utils', 'sunfoxcz/price-calculator' => 'sunfoxcz/price-calculator', 'metisfw/paypal' => 'metisfw/paypal', 'lookyman/recaptcha' => 'lookyman/recaptcha', 'lookyman/pratchett' => 'lookyman/pratchett', 'lookyman/mandrill' => 'lookyman/mandrill', 'macfja/tracy-doctrine-sql' => 'macfja/tracy-doctrine-sql', 'mrtnzlml/testbench' => 'mrtnzlml/testbench', 'nasext/dependent-select-box' => 'nasext/dependentselectbox', 'machy8/macdom' => 'machy8/macdom', 'uestla/yetorm' => 'uestla/yetorm', 'blitzik/calendar' => 'blitzik/calendar', 'uestla/recaptcha-control' => 'uestla/recaptchacontrol', 'ublaboo/mailing' => 'ublaboo/mailing', 'ublaboo/simple-http-auth' => 'ublaboo/simple-http-auth', 'ublaboo/directory-register' => 'ublaboo/directory-register', 'ublaboo/controls' => 'ublaboo/controls', 'webchemistry/parameters' => 'webchemistry/parameters', 'ublaboo/presenter-component' => 'ublaboo/presenter-component', 'tomaj/nette-api' => 'tomaj/nette-api', 'tomaj/nette-bootstrap-form' => 'tomaj/nette-bootstrap-form', 'milo/vendor-versions' => 'milo/vendor-versions', 'myiyk/seo-router' => 'myiyk/seo-router', 'webchemistry/invoice' => 'webchemistry/invoice', 'premekkoch/pkpaginator' => 'premekkoch/pkpaginator', 'jzechy/nette-antispam' => 'jzechy/nette-antispam', 'jzechy/jquery-fileupload' => 'jzechy/jquery-fileupload', 'hostbox/nette-component-social-plugins' => 'hostbox/nette-social-plugins', 'lukaj/nette-param-validator' => 'lukasmazur/nette-paramvalidator', 'zeleznypa/nette-simple-translator' => 'nedryse/simple-translator', 'kollarovic/thumbnail' => 'kollarovic/thumbnailhelper', 'jaroslav-kubicek/event-calendar' => 'jaroslav-kubicek/eventcalendar', 'nifty/nifty-grid' => 'holubj/niftygrid', 'ondrejbrejla/eciovni' => 'obrejla/eciovni', 'jandrabek/nette-mailpanel' => 'repli2dev/nette-mailpanel', 'docx/confirmationdialog' => 'srigi/nette-confirmationdialog', 'vojtech-dobes/nette-ajax-history' => 'vojtech-dobes/history.nette.ajax.js', 'sakren/nette-menu' => 'carrooi/nette-menu', 'flame/modules' => 'flame-org/modules', 'george-oakling/googlemap' => 'george-oakling/googlemap', 'zenify/doctrine-identity-entity' => 'zenify/doctrinemigrations', 'pd/database-info-panel' => 'peckadesign/database-info-panel', 'jandrabek/tracy-gitversion-panel' => 'repli2dev/tracy-gitversion-panel', 'annotate/packages' => 'annotateframework/packages', 'skautis/skautis' => 'skaut/skautisnette', 'seberm/paypal-component' => 'seberm/nette-paypal', 'skautis/nette' => 'skaut/skautisnette', 'minetro/formatter' => 'minetro/latte-formatter', 'carrooi/images-manager' => 'carrooi/nette-imagesmanager', 'divisions/nette-propel2-extension' => 'divisions-etch/nette-propel2-extension', 'divisions/nette-spot2-extension' => 'divisions-etch/nette-spot2-extension', 'adamstipak/nette-rest-route' => 'newpope/nette-restroute', 'carrooi/no-grid' => 'carrooi/nette-nogrid', 'webchemistry/forms-wizard' => 'webchemistry/wizard', 'webchemistry/rollbar' => 'webchemistry/rollbar', 'sandbox/passwordrecovery' => 'vipercz/passwordrecovery', 'makr/feed' => 'martinknor/feed', 'pavlista/nette-palette' => 'michaelpavlista/nette-palette', 'vojtech-dobes/nette-ajax-js' => 'vojtech-dobes/nette.ajax.js', 'mesour/datagrid' => 'mesour/datagrid'];
 }
开发者ID:nette,项目名称:web-addons.nette.org,代码行数:5,代码来源:RedirectPresenter.php

示例15: __construct

 /**
  * @param \Nette\DI\Container $context
  */
 public function __construct(Container $context)
 {
     parent::__construct();
     $this->menuFactory = $context->getByType('DK\\Menu\\UI\\IControlFactory');
     // just for disabling warning about non existing services
 }
开发者ID:FilipStryk,项目名称:Nette-Menu,代码行数:9,代码来源:BasePresenter.php


注:本文中的Nette\Application\UI\Presenter::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。