當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Result::__construct方法代碼示例

本文整理匯總了PHP中Result::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Result::__construct方法的具體用法?PHP Result::__construct怎麽用?PHP Result::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Result的用法示例。


在下文中一共展示了Result::__construct方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 public function __construct($table, Result $result, $column, $active)
 {
     parent::__construct($table, $result->notORM);
     $this->result = $result;
     $this->column = $column;
     $this->active = $active;
 }
開發者ID:sim2github,項目名稱:notorm,代碼行數:7,代碼來源:MultiResult.php

示例2: __construct

 /**
  * @param boolean $valid
  * @param IdentityInterface $identity
  * @param array $messages
  * @param array|null $usage
  * @param string|null $appId
  * @param string|null $appKey
  */
 public function __construct($valid, IdentityInterface $identity = null, array $messages = array(), $usage = null, $appId = null, $appKey = null)
 {
     parent::__construct($valid, $identity, $messages);
     $this->usage = $usage;
     $this->appId = $appId;
     $this->appKey = $appKey;
 }
開發者ID:detailnet,項目名稱:dfw-auth-module,代碼行數:15,代碼來源:ThreeScaleResult.php

示例3:

 function __construct($tabelID, $whereArr, $obj = NULL)
 {
     GenFun::hostConnect();
     $this->tableID = $tabelID;
     $this->whereArr = $whereArr;
     parent::__construct($this->getQueryString(), $obj);
 }
開發者ID:awwthentic1234,項目名稱:hey,代碼行數:7,代碼來源:GetTable.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
 }
開發者ID:ASDAFF,項目名稱:open_bx,代碼行數:4,代碼來源:deleteresult.php

示例5: __construct

 /**
  * @param resource $result Database-specific query result.
  * @param Connection $dbConnection Connection object.
  * @param \Bitrix\Main\Diag\SqlTrackerQuery $trackerQuery Helps to collect debug information.
  */
 public function __construct($result, Connection $dbConnection = null, \Bitrix\Main\Diag\SqlTrackerQuery $trackerQuery = null)
 {
     parent::__construct($result, $dbConnection, $trackerQuery);
 }
開發者ID:DarneoStudio,項目名稱:bitrix,代碼行數:9,代碼來源:mssqlresult.php

示例6: __construct

 public function __construct($value = null)
 {
     parent::__construct($value);
 }
開發者ID:shrink0r,項目名稱:monatic,代碼行數:4,代碼來源:Success.php

示例7: __construct

 public function __construct($result)
 {
     parent::__construct($result);
 }
開發者ID:spas-viktor,項目名稱:books,代碼行數:4,代碼來源:arrayresult.php

示例8: __construct

 /**
  * @param PSHD $pshd
  */
 public function __construct($pshd)
 {
     parent::__construct($pshd);
 }
開發者ID:lajosbencz,項目名稱:pshd,代碼行數:7,代碼來源:Select.php

示例9: __construct

 public function __construct($guid = 0, $code = self::CODE_SUCCESS, $info = self::INFO_SUCCESS, $owner = null, $level = E_USER_NOTICE)
 {
     $this->_level = $level;
     parent::__construct($guid, $code, $info);
     parent::extend('owner', $owner);
 }
開發者ID:jafarsidik,項目名稱:neuron,代碼行數:6,代碼來源:Error.php

示例10: __construct

 /**
  * EmptyResult constructor.
  */
 public function __construct()
 {
     parent::__construct(new EmptyCursor());
 }
開發者ID:pixelfederation,項目名稱:vitess-php-pdo,代碼行數:7,代碼來源:EmptyResult.php

示例11: setError

 public function setError($errors)
 {
     parent::__construct($errors);
     return $this;
 }
開發者ID:danielheyman,項目名稱:TechDimeProjects,代碼行數:5,代碼來源:BaseManager.php

示例12: __construct

 /**
  * VtCtldResult constructor.
  *
  * @param VtCtld $result
  */
 public function __construct(VtCtld $result)
 {
     $data = $this->transform($result->getData());
     $cursor = new Cursor($data, $this->getFields());
     parent::__construct($cursor);
 }
開發者ID:pixelfederation,項目名稱:vitess-php-pdo,代碼行數:11,代碼來源:VtCtldResult.php

示例13: __construct

 /**
  * Construct a Success result.
  *
  * @param array $data Data to pass to success result.
  */
 public function __construct(array $data = null)
 {
     parent::__construct(true, 'success', $data);
 }
開發者ID:VanillaPackage,項目名稱:vanilla-validation,代碼行數:9,代碼來源:Success.php

示例14: __construct

 /**
  * Construct a Nullable result.
  */
 public function __construct()
 {
     parent::__construct(true, 'success');
 }
開發者ID:VanillaPackage,項目名稱:vanilla-validation,代碼行數:7,代碼來源:Nullable.php

示例15: error

 public function error($data = null)
 {
     parent::__construct($data);
 }
開發者ID:danielheyman,項目名稱:TechDimeProjects,代碼行數:4,代碼來源:BaseValidationResult.php


注:本文中的Result::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。