当前位置: 首页>>代码示例>>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;未经允许,请勿转载。