Ejemplo n.º 1
0
 /**
  * @param Facebook\Facebook $facebook
  */
 public function __construct(Facebook\Facebook $facebook)
 {
     $this->facebook = $facebook;
     $this->config = $facebook->config;
     $this->currentUrl = $facebook->getCurrentUrl();
     parent::__construct();
 }
Ejemplo n.º 2
0
 /**
  * @param Google $google
  */
 public function __construct(Google $google)
 {
     $this->google = $google;
     $this->config = $google->config;
     $this->session = $google->getSession();
     parent::__construct();
 }
Ejemplo n.º 3
0
 /**
  * @param Facebook\Facebook $facebook
  */
 public function __construct(Facebook\Facebook $facebook)
 {
     $this->facebook = $facebook;
     $this->config = $facebook->config;
     $this->currentUrl = $facebook->getCurrentUrl();
     $this->monitor('Nette\\Application\\IPresenter');
     parent::__construct();
 }
Ejemplo n.º 4
0
 /**
  * @param string $name Table column name
  * @param string $label Column label
  */
 public function __construct($container, $name, $label, $parent)
 {
     parent::__construct($container, $name);
     $this->label = $label;
     $this->parent = $parent;
     $this->valueEditor = function ($value) {
         return $value;
     };
     return $this;
 }
Ejemplo n.º 5
0
 /**
  * @param callable
  */
 public function __construct($factory)
 {
     parent::__construct();
     $this->factory = Nette\Utils\Callback::check($factory);
 }
Ejemplo n.º 6
0
 public function __construct($factory)
 {
     parent::__construct();
     $this->factory = new Nette\Callback($factory);
 }
Ejemplo n.º 7
0
 public function __construct(array $templates = [])
 {
     parent::__construct();
     $this->templates = $templates;
 }
Ejemplo n.º 8
0
 public function __construct(callable $factory)
 {
     parent::__construct();
     $this->factory = $factory;
 }
Ejemplo n.º 9
0
 public function __construct($container, $name, $label, $parent)
 {
     parent::__construct($container, $name);
     $this->label = $label;
     $this->parent = $parent;
 }
Ejemplo n.º 10
0
 public function __construct(\Fabian\Linkedin\Linkedin $linkedin)
 {
     parent::__construct();
     $this->linkedin = $linkedin;
 }
Ejemplo n.º 11
0
 /**
  * @param SkautIS $skautis
  */
 public function __construct(SkautIS $skautis)
 {
     $this->skautis = $skautis;
     $this->session = $skautis->getSession();
     parent::__construct();
 }