Пример #1
0
 public function __construct(\Nette\Database\Context $database, ServerRepository $serverRepo, \ServerCommander $serverComm, UserRepository $userRepo, \FileModel $fileModel, \UUIDModel $uuidModel)
 {
     parent::__construct($database);
     $this->serverRepo = $serverRepo;
     $this->serverComm = $serverComm;
     $this->userRepo = $userRepo;
     $this->fileModel = $fileModel;
     $this->uuidModel = $uuidModel;
 }
Пример #2
0
 public function __construct($row = array())
 {
     parent::__construct($row = array());
     $this->list = array();
     $this->total = 0;
     /*
     		$this->id = (int)(isset($row['id']) ? $row['id'] : 0);
     		$this->username = (isset($row['username']) ? $row['username'] : "");
     		$this->password = (isset($row['password']) ? $row['password'] : "");
     */
 }
 /**
  * Class constructor
  *
  */
 function __construct($repository, $triggered_by_handler = false)
 {
     parent::__construct();
     // check if we have neccessary resources
     if (instance_of($repository, 'Repository')) {
         $this->active_repository = $repository;
         $this->active_project = Projects::findById($repository->getProjectId());
     }
     // if
     $this->executable_path = with_slash(ConfigOptions::getValue('source_svn_path'));
     $config_dir = ConfigOptions::getValue('source_svn_config_dir');
     $this->config_dir = is_null($config_dir) ? '' : '--config-dir ' . $config_dir;
     $this->stderr2stdout = ConfigOptions::getValue('source_svn_use_output_redirect') == true ? "2>&1" : "";
     $this->trust_server_certificate = ConfigOptions::getValue('source_svn_trust_server_cert') == true ? '--trust-server-cert' : '';
     $this->triggerred_by_handler = $triggered_by_handler;
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
 }
 public function __construct(\Nette\Database\Context $context)
 {
     parent::__construct($this->_name, $context);
 }
Пример #6
0
 public function __construct(\Nette\Database\Context $connection)
 {
     parent::__construct($connection);
     $this->tableName = "topics";
 }
 public function __construct()
 {
     parent::__construct("todoentry");
 }
 public function __construct()
 {
     parent::__construct("remember");
 }
Пример #9
0
 public function __construct($row = array())
 {
     parent::__construct($row);
 }
Пример #10
0
 /**
  * @inherit
  */
 public function __construct($name, Config $config)
 {
     parent::__construct($name, $config);
     $this->deleteEmptyDirs = $config->getOption('delete_empty_dirs') === true;
 }
Пример #11
0
 public function __construct()
 {
     parent::__construct("media");
 }
 /**
  * Initialise les informations sur le depot.
  * @param Webos $webos Le webos.
  */
 public function __construct(\lib\Webos $webos)
 {
     //On appelle le constructeur parent
     parent::__construct($webos, '/etc/apt/');
 }
 public function __construct()
 {
     parent::__construct("entryoftheday");
 }