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


PHP ModelCriteria::__construct方法代碼示例

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


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

示例1: __construct

 public function __construct($table, $groupField, $name, $joinCriterion)
 {
     parent::__construct();
     $this->name = $name;
     $this->selectTable($table);
     $this->selectField($groupField, "group_field");
     $this->groupBy($groupField);
     $this->joinCriterion = $joinCriterion;
 }
開發者ID:Nessworthy,項目名稱:buan,代碼行數:9,代碼來源:AggregateSubquery.php

示例2: __construct

 /**
  * Initializes internal state of BaseArticulovariantereordenQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'hva';
     }
     if (null === $modelName) {
         $modelName = 'Articulovariantereorden';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:jalvarez14,項目名稱:hva,代碼行數:17,代碼來源:BaseArticulovariantereordenQuery.php

示例3: __construct

 /**
  * Initializes internal state of BaseServicioestadoQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'itrade';
     }
     if (null === $modelName) {
         $modelName = 'Servicioestado';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:vicbaporu,項目名稱:ITRADE,代碼行數:17,代碼來源:BaseServicioestadoQuery.php

示例4: __construct

 /**
  * Initializes internal state of BaseUdmQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'hva';
     }
     if (null === $modelName) {
         $modelName = 'Udm';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:jalvarez14,項目名稱:hva,代碼行數:17,代碼來源:BaseUdmQuery.php

示例5: __construct

 /**
  * Initializes internal state of BaseUserGroupQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'rapila';
     }
     if (null === $modelName) {
         $modelName = 'UserGroup';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:rapila,項目名稱:cms-base,代碼行數:17,代碼來源:BaseUserGroupQuery.php

示例6: __construct

 /**
  * Initializes internal state of BaseKategoriQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'propel';
     }
     if (null === $modelName) {
         $modelName = 'Kategori';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:nurhidayatullah,項目名稱:inventory,代碼行數:17,代碼來源:BaseKategoriQuery.php

示例7: __construct

 /**
  * Initializes internal state of BaseDetailTransaksiQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'propel';
     }
     if (null === $modelName) {
         $modelName = 'DetailTransaksi';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:nurhidayatullah,項目名稱:inventory,代碼行數:17,代碼來源:BaseDetailTransaksiQuery.php

示例8: __construct

 /**
  * Initializes internal state of BaseUcUserPermissionMatchesQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'cpu';
     }
     if (null === $modelName) {
         $modelName = 'UcUserPermissionMatches';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:AdwayLele,項目名稱:CupCake,代碼行數:17,代碼來源:BaseUcUserPermissionMatchesQuery.php

示例9: __construct

 /**
  * Initializes internal state of BaseProveedoritradearchivoQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'itrade';
     }
     if (null === $modelName) {
         $modelName = 'Proveedoritradearchivo';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:vicbaporu,項目名稱:ITRADE,代碼行數:17,代碼來源:BaseProveedoritradearchivoQuery.php

示例10: __construct

 /**
  * Initializes internal state of BaseUcConfigurationQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'cpu';
     }
     if (null === $modelName) {
         $modelName = 'UcConfiguration';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:AdwayLele,項目名稱:CupCake,代碼行數:17,代碼來源:BaseUcConfigurationQuery.php

示例11: __construct

 /**
  * Initializes internal state of BasePagePropertyQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'rapila';
     }
     if (null === $modelName) {
         $modelName = 'PageProperty';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:rapila,項目名稱:cms-base,代碼行數:17,代碼來源:BasePagePropertyQuery.php

示例12: __construct

 /**
  * Initializes internal state of BasehelpHourSigninQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'cscrew';
     }
     if (null === $modelName) {
         $modelName = 'helpHourSignin';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:nhallpot,項目名稱:CSCrew2015-back,代碼行數:17,代碼來源:BasehelpHourSigninQuery.php

示例13: __construct

 /**
  * Initializes internal state of BaseSearchIndexWordQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'rapila';
     }
     if (null === $modelName) {
         $modelName = 'SearchIndexWord';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:rapila,項目名稱:plugin-full_text_search,代碼行數:17,代碼來源:BaseSearchIndexWordQuery.php

示例14: __construct

 /**
  * Initializes internal state of BaseMedicoespecialidadQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'hva';
     }
     if (null === $modelName) {
         $modelName = 'Medicoespecialidad';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:jalvarez14,項目名稱:hva,代碼行數:17,代碼來源:BaseMedicoespecialidadQuery.php

示例15: __construct

 /**
  * Initializes internal state of BasesignInReasonQuery object.
  *
  * @param     string $dbName The dabase name
  * @param     string $modelName The phpName of a model, e.g. 'Book'
  * @param     string $modelAlias The alias for the model in this query, e.g. 'b'
  */
 public function __construct($dbName = null, $modelName = null, $modelAlias = null)
 {
     if (null === $dbName) {
         $dbName = 'cscrew';
     }
     if (null === $modelName) {
         $modelName = 'signInReason';
     }
     parent::__construct($dbName, $modelName, $modelAlias);
 }
開發者ID:nhallpot,項目名稱:CSCrew2015-back,代碼行數:17,代碼來源:BasesignInReasonQuery.php


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