本文整理汇总了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;
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}