コード例 #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
ファイル: user.php プロジェクト: mrzarkovic/logz
 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'] : "");
     */
 }
コード例 #3
0
 /**
  * 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
ファイル: UserRepository.php プロジェクト: reideer/inventario
 public function __construct()
 {
     parent::__construct();
 }
コード例 #5
0
 public function __construct(\Nette\Database\Context $context)
 {
     parent::__construct($this->_name, $context);
 }
コード例 #6
0
ファイル: TopicsRepository.php プロジェクト: xHRo/simpleForum
 public function __construct(\Nette\Database\Context $connection)
 {
     parent::__construct($connection);
     $this->tableName = "topics";
 }
コード例 #7
0
 public function __construct()
 {
     parent::__construct("todoentry");
 }
コード例 #8
0
 public function __construct()
 {
     parent::__construct("remember");
 }
コード例 #9
0
ファイル: service.php プロジェクト: mrzarkovic/advokat
 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");
 }
コード例 #12
0
 /**
  * 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/');
 }
コード例 #13
0
 public function __construct()
 {
     parent::__construct("entryoftheday");
 }