repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/ArrayHelper.php | framework/helpers/ArrayHelper.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
/**
* ArrayHelper provides additional array functionality that you can use in your
* application.
*
* For more details and usage informati... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/StringHelper.php | framework/helpers/StringHelper.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
/**
* StringHelper.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Alex Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class StringH... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/BaseIpHelper.php | framework/helpers/BaseIpHelper.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
use yii\base\NotSupportedException;
/**
* Class BaseIpHelper provides concrete implementation for [[IpHelper]]
*
* Do not use BaseIpHelper... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/BaseJson.php | framework/helpers/BaseJson.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
use yii\base\Arrayable;
use yii\base\InvalidArgumentException;
use yii\base\Model;
use yii\web\JsExpression;
use yii\web\JsonResponseFormatter... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/BaseVarDumper.php | framework/helpers/BaseVarDumper.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
use yii\base\Arrayable;
use yii\base\InvalidValueException;
/**
* BaseVarDumper provides concrete implementation for [[VarDumper]].
*
* Do... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/mimeExtensions.php | framework/helpers/mimeExtensions.php | <?php
/**
* MIME type extensions.
*
* This file contains most commonly used extensions for MIME types.
* If there are multiple extensions for a singe MIME type
* they are ordered from most to least common.
* Its content is generated from the apache http mime.types file.
* https://raw.githubusercontent.com/apache... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/mimeAliases.php | framework/helpers/mimeAliases.php | <?php
/**
* MIME aliases.
*
* This file contains aliases for MIME types.
*
* All extra changes made to this file must be committed to /build/controllers/MimeTypeController.php
* otherwise they will be lost on next build.
*/
return [
'text/rtf' => 'application/rtf',
'text/xml' => 'application/xml',
'i... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/Html.php | framework/helpers/Html.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
/**
* Html provides a set of static methods for generating commonly used HTML tags.
*
* Nearly all of the methods in this class allow setti... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/Inflector.php | framework/helpers/Inflector.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
/**
* Inflector pluralizes and singularizes English nouns. It also contains some other useful methods.
*
* @author Antonio Ramirez <amigo.c... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/BaseHtml.php | framework/helpers/BaseHtml.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
use Yii;
use yii\base\InvalidArgumentException;
use yii\base\Model;
use yii\db\ActiveRecordInterface;
use yii\validators\StringValidator;
use ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/HtmlPurifier.php | framework/helpers/HtmlPurifier.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
/**
* HtmlPurifier provides an ability to clean up HTML from any harmful code.
*
* Basic usage is the following:
*
* ```
* echo HtmlPuri... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/BaseFormatConverter.php | framework/helpers/BaseFormatConverter.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
use IntlDateFormatter;
use Yii;
/**
* BaseFormatConverter provides concrete implementation for [[FormatConverter]].
*
* Do not use BaseFor... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/ReplaceArrayValue.php | framework/helpers/ReplaceArrayValue.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
use yii\base\InvalidConfigException;
/**
* Object that represents the replacement of array value while performing [[ArrayHelper::merge()]].
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/VarDumper.php | framework/helpers/VarDumper.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
/**
* VarDumper is intended to replace the buggy PHP function var_dump and print_r.
* It can correctly identify the recursively referenced o... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/helpers/BaseConsole.php | framework/helpers/BaseConsole.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\helpers;
use Yii;
use yii\console\Markdown as ConsoleMarkdown;
use yii\base\Model;
/**
* BaseConsole provides concrete implementation for [[Console]]... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/CompareValidator.php | framework/validators/CompareValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\Html;
use yii\helpers\Json;
/**
* CompareValidator compares the specified a... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/RequiredValidator.php | framework/validators/RequiredValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\helpers\Json;
/**
* RequiredValidator validates that the specified attribute does not have null or empty value.
*
* @a... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/PunycodeAsset.php | framework/validators/PunycodeAsset.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use yii\web\AssetBundle;
/**
* This asset bundle provides the javascript files needed for the [[EmailValidator]]s client validation.
*
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/ValidationAsset.php | framework/validators/ValidationAsset.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use yii\web\AssetBundle;
/**
* This asset bundle provides the javascript files for client validation.
*
* @author Qiang Xue <qiang.xue@... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/BooleanValidator.php | framework/validators/BooleanValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\helpers\Json;
/**
* BooleanValidator checks if the attribute value is a boolean value.
*
* Possible boolean values can... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/RangeValidator.php | framework/validators/RangeValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper;
use yii\helpers\Json;
/**
* RangeValidator validates that the ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/TrimValidator.php | framework/validators/TrimValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use yii\helpers\Json;
/**
* This class converts the attribute value(s) to string(s) and strip characters.
*
* @since 2.0.46
*/
class T... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/SafeValidator.php | framework/validators/SafeValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
/**
* SafeValidator serves as a dummy validator whose main purpose is to mark the attributes to be safe for massive assignment.
*
* This... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/ExistValidator.php | framework/validators/ExistValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\InvalidConfigException;
use yii\base\Model;
use yii\db\ActiveQuery;
use yii\db\ActiveRecord;
use yii\db\QueryInterfac... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/ImageValidator.php | framework/validators/ImageValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\helpers\Json;
use yii\web\UploadedFile;
/**
* ImageValidator verifies if an attribute is receiving a valid image.
*
* ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/InlineValidator.php | framework/validators/InlineValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
/**
* InlineValidator represents a validator which is defined as a method in the object being validated.
*
* @author Qiang Xue <qiang.xu... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/IpValidator.php | framework/validators/IpValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\Html;
use yii\helpers\IpHelper;
use yii\helpers\Json;
use yii\web\JsExpressio... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/UrlValidator.php | framework/validators/UrlValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\Json;
use yii\web\JsExpression;
/**
* UrlValidator validates that the attri... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/FilterValidator.php | framework/validators/FilterValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use yii\base\InvalidConfigException;
use yii\helpers\Json;
/**
* FilterValidator converts the attribute value according to a filter.
*
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/EmailValidator.php | framework/validators/EmailValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\ErrorException;
use yii\base\InvalidConfigException;
use yii\helpers\Json;
use yii\web\JsExpression;
/**
* EmailVal... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/UniqueValidator.php | framework/validators/UniqueValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\Model;
use yii\db\ActiveQuery;
use yii\db\ActiveQueryInterface;
use yii\db\ActiveRecord;
use yii\db\ActiveRecordInter... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/RegularExpressionValidator.php | framework/validators/RegularExpressionValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\Html;
use yii\helpers\Json;
use yii\web\JsExpression;
/**
* RegularExpressi... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/DateValidator.php | framework/validators/DateValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use DateTime;
use DateTimeZone;
use Exception;
use IntlDateFormatter;
use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\FormatC... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/FileValidator.php | framework/validators/FileValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\helpers\FileHelper;
use yii\helpers\Html;
use yii\helpers\Json;
use yii\helpers\StringHelper;
use yii\web\JsExpression;
us... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/DefaultValueValidator.php | framework/validators/DefaultValueValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
/**
* DefaultValueValidator sets the attribute to be the specified default value.
*
* DefaultValueValidator is not really a validator. I... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/NumberValidator.php | framework/validators/NumberValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\helpers\Json;
use yii\helpers\StringHelper;
use yii\web\JsExpression;
/**
* NumberValidator validates that the attribute... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/Validator.php | framework/validators/Validator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\Component;
use yii\base\NotSupportedException;
/**
* Validator is the base class for all validators.
*
* Child cl... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/EachValidator.php | framework/validators/EachValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\base\DynamicModel;
use yii\base\InvalidConfigException;
use yii\base\Model;
/**
* EachValidator validates an array by ch... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/validators/StringValidator.php | framework/validators/StringValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\validators;
use Yii;
use yii\helpers\Json;
/**
* StringValidator validates that the attribute value is of certain length.
*
* Note, this validator ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/behaviors/AttributeBehavior.php | framework/behaviors/AttributeBehavior.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use Closure;
use yii\base\Behavior;
use yii\base\Event;
use yii\db\ActiveRecord;
use yii\db\BaseActiveRecord;
/**
* AttributeBehavior auto... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/behaviors/BlameableBehavior.php | framework/behaviors/BlameableBehavior.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use Yii;
use yii\db\BaseActiveRecord;
/**
* BlameableBehavior automatically fills the specified attributes with the current user ID.
*
*... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/behaviors/AttributeTypecastBehavior.php | framework/behaviors/AttributeTypecastBehavior.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use yii\base\Behavior;
use yii\base\InvalidArgumentException;
use yii\base\Model;
use yii\db\BaseActiveRecord;
use yii\helpers\StringHelper;... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/behaviors/SluggableBehavior.php | framework/behaviors/SluggableBehavior.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\BaseActiveRecord;
use yii\helpers\ArrayHelper;
use yii\helpers\Inflector;
use yii\v... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/behaviors/CacheableWidgetBehavior.php | framework/behaviors/CacheableWidgetBehavior.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use yii\base\Behavior;
use yii\base\InvalidConfigException;
use yii\base\Widget;
use yii\base\WidgetEvent;
use yii\caching\CacheInterface;
u... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/behaviors/OptimisticLockBehavior.php | framework/behaviors/OptimisticLockBehavior.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use Yii;
use yii\db\BaseActiveRecord;
use yii\base\InvalidCallException;
use yii\validators\NumberValidator;
use yii\helpers\ArrayHelper;
/... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/behaviors/AttributesBehavior.php | framework/behaviors/AttributesBehavior.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use Closure;
use yii\base\Behavior;
use yii\base\Event;
use yii\db\ActiveRecord;
use yii\db\BaseActiveRecord;
/**
* AttributesBehavior aut... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/behaviors/TimestampBehavior.php | framework/behaviors/TimestampBehavior.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\behaviors;
use yii\base\InvalidCallException;
use yii\db\BaseActiveRecord;
/**
* TimestampBehavior automatically fills the specified attributes with ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/QueryExpressionBuilder.php | framework/db/QueryExpressionBuilder.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Class QueryExpressionBuilder is used internally to build [[Query]] object
* using unified [[QueryBuilder]] expression building interface.
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Transaction.php | framework/db/Transaction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use Yii;
use yii\base\InvalidConfigException;
use yii\base\NotSupportedException;
/**
* Transaction represents a DB transaction.
*
* It is usua... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Connection.php | framework/db/Connection.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use PDO;
use Yii;
use yii\base\Component;
use yii\base\InvalidConfigException;
use yii\base\NotSupportedException;
use yii\caching\CacheInterface;
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ExpressionBuilder.php | framework/db/ExpressionBuilder.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Class ExpressionBuilder builds objects of [[yii\db\Expression]] class.
*
* @author Dmitry Naumenko <d.naumenko.a@gmail.com>
* @since 2.0.... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Command.php | framework/db/Command.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use Yii;
use yii\base\Component;
use yii\base\NotSupportedException;
/**
* Command represents a SQL statement to be executed against a database.
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/TableSchema.php | framework/db/TableSchema.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\BaseObject;
use yii\base\InvalidArgumentException;
/**
* TableSchema represents the metadata of a database table.
*
* @property-re... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ColumnSchema.php | framework/db/ColumnSchema.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\BaseObject;
use yii\helpers\StringHelper;
/**
* ColumnSchema class describes the metadata of a column in a database table.
*
* @au... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ActiveRecord.php | framework/db/ActiveRecord.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use Yii;
use yii\base\InvalidArgumentException;
use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper;
use yii\helpers\Inflector;
use yi... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/AfterSaveEvent.php | framework/db/AfterSaveEvent.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\Event;
/**
* AfterSaveEvent represents the information available in [[ActiveRecord::EVENT_AFTER_INSERT]] and [[ActiveRecord::EVENT_A... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ActiveRecordInterface.php | framework/db/ActiveRecordInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\StaticInstanceInterface;
/**
* ActiveRecordInterface.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carsten Brandt <mail@... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Migration.php | framework/db/Migration.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\Component;
use yii\di\Instance;
use yii\helpers\StringHelper;
/**
* Migration is the base class for representing a database migratio... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Expression.php | framework/db/Expression.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Expression represents a DB expression that does not need escaping or quoting.
*
* When an Expression object is embedded within a SQL state... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/IndexConstraint.php | framework/db/IndexConstraint.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* IndexConstraint represents the metadata of a table `INDEX` constraint.
*
* @author Sergey Makinen <sergey@makinen.ru>
* @since 2.0.13
*/... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/SqlToken.php | framework/db/SqlToken.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\BaseObject;
/**
* SqlToken represents SQL tokens produced by [[SqlTokenizer]] or its child classes.
*
* @property SqlToken[] $chil... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ActiveRelationTrait.php | framework/db/ActiveRelationTrait.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\InvalidArgumentException;
use yii\base\InvalidConfigException;
/**
* ActiveRelationTrait implements the common methods and propertie... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ArrayExpression.php | framework/db/ArrayExpression.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use Traversable;
use yii\base\InvalidConfigException;
/**
* Class ArrayExpression represents an array SQL expression.
*
* Expressions of this t... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ExpressionBuilderInterface.php | framework/db/ExpressionBuilderInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Interface ExpressionBuilderInterface is designed to build raw SQL from specific expression
* objects that implement [[ExpressionInterface]]... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ViewFinderTrait.php | framework/db/ViewFinderTrait.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* ViewFinderTrait implements the method getViewNames for finding views in a database.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Constraint.php | framework/db/Constraint.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\BaseObject;
/**
* Constraint represents the metadata of a table constraint.
*
* @author Sergey Makinen <sergey@makinen.ru>
* @sin... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/SchemaBuilderTrait.php | framework/db/SchemaBuilderTrait.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* SchemaBuilderTrait contains shortcut methods to create instances of [[ColumnSchemaBuilder]].
*
* These can be used in database migrations ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/PdoValueBuilder.php | framework/db/PdoValueBuilder.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Class PdoValueBuilder builds object of the [[PdoValue]] expression class.
*
* @author Dmytro Naumenko <d.naumenko.a@gmail.com>
* @since 2... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/PdoValue.php | framework/db/PdoValue.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Class PdoValue represents a $value that should be bound to PDO with exact $type.
*
* For example, it will be useful when you need to bind ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/CheckConstraint.php | framework/db/CheckConstraint.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* CheckConstraint represents the metadata of a table `CHECK` constraint.
*
* @author Sergey Makinen <sergey@makinen.ru>
* @since 2.0.13
*/... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/DataReader.php | framework/db/DataReader.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\InvalidCallException;
/**
* DataReader represents a forward-only stream of rows from a query result set.
*
* To read the current r... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ExpressionBuilderTrait.php | framework/db/ExpressionBuilderTrait.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Trait ExpressionBuilderTrait provides common constructor for classes that
* should implement [[ExpressionBuilderInterface]]
*
* @author D... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/MigrationInterface.php | framework/db/MigrationInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* The MigrationInterface defines the minimum set of methods to be implemented by a database migration.
*
* Each migration class should provi... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Schema.php | framework/db/Schema.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use Yii;
use yii\base\BaseObject;
use yii\base\InvalidCallException;
use yii\base\InvalidConfigException;
use yii\base\NotSupportedException;
use y... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Exception.php | framework/db/Exception.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Exception represents an exception that is caused by some DB-related operations.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/DefaultValueConstraint.php | framework/db/DefaultValueConstraint.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* DefaultValueConstraint represents the metadata of a table `DEFAULT` constraint.
*
* @author Sergey Makinen <sergey@makinen.ru>
* @since 2... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/SqlTokenizer.php | framework/db/SqlTokenizer.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\Component;
use yii\base\InvalidArgumentException;
/**
* SqlTokenizer splits an SQL query into individual SQL tokens.
*
* It can be... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ActiveQuery.php | framework/db/ActiveQuery.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\InvalidConfigException;
/**
* ActiveQuery represents a DB query associated with an Active Record class.
*
* An ActiveQuery can be ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/QueryBuilder.php | framework/db/QueryBuilder.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\InvalidArgumentException;
use yii\base\NotSupportedException;
use yii\db\conditions\ConditionInterface;
use yii\db\conditions\HashCond... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/BaseActiveRecord.php | framework/db/BaseActiveRecord.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use Yii;
use yii\base\InvalidArgumentException;
use yii\base\InvalidCallException;
use yii\base\InvalidConfigException;
use yii\base\InvalidParamEx... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/IntegrityException.php | framework/db/IntegrityException.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Exception represents an exception that is caused by violation of DB constraints.
*
* @author Alexander Makarov <sam@rmcreative.ru>
* @sin... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ActiveQueryTrait.php | framework/db/ActiveQueryTrait.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* ActiveQueryTrait implements the common methods and properties for active record query classes.
*
* @author Qiang Xue <qiang.xue@gmail.com>... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ExpressionInterface.php | framework/db/ExpressionInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* Interface ExpressionInterface should be used to mark classes, that should be built
* in a special way.
*
* The database abstraction layer... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/Query.php | framework/db/Query.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use Yii;
use yii\base\Component;
use yii\base\InvalidArgumentException;
use yii\helpers\ArrayHelper;
use yii\base\InvalidConfigException;
/**
* Q... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/BatchQueryResult.php | framework/db/BatchQueryResult.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\Component;
/**
* BatchQueryResult represents a batch query from which you can retrieve data in batches.
*
* You usually do not ins... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ConstraintFinderInterface.php | framework/db/ConstraintFinderInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* ConstraintFinderInterface defines methods for getting a table constraint information.
*
* @author Sergey Makinen <sergey@makinen.ru>
* @s... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/StaleObjectException.php | framework/db/StaleObjectException.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class StaleObjectException extends Exception
{
/**
* @return string the u... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/QueryInterface.php | framework/db/QueryInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* The QueryInterface defines the minimum set of methods to be implemented by a database query.
*
* The default implementation of this interf... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ActiveQueryInterface.php | framework/db/ActiveQueryInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* ActiveQueryInterface defines the common interface to be implemented by active record query classes.
*
* That are methods for either normal... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/JsonExpression.php | framework/db/JsonExpression.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\InvalidConfigException;
/**
* Class JsonExpression represents data that should be encoded to JSON.
*
* For example:
*
* ```
* n... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ColumnSchemaBuilder.php | framework/db/ColumnSchemaBuilder.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\BaseObject;
use yii\helpers\StringHelper;
/**
* ColumnSchemaBuilder helps to define database schema types using a PHP interface.
*
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ConstraintFinderTrait.php | framework/db/ConstraintFinderTrait.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* ConstraintFinderTrait provides methods for getting a table constraint information.
*
* @property CheckConstraint[][] $schemaChecks Check c... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/QueryTrait.php | framework/db/QueryTrait.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
use yii\base\NotSupportedException;
/**
* The BaseQuery trait represents the minimum method set of a database Query.
*
* It is supposed to be u... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/ForeignKeyConstraint.php | framework/db/ForeignKeyConstraint.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* ForeignKeyConstraint represents the metadata of a table `FOREIGN KEY` constraint.
*
* @author Sergey Makinen <sergey@makinen.ru>
* @since... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/mssql/DBLibPDO.php | framework/db/mssql/DBLibPDO.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db\mssql;
/**
* This is an extension of the default PDO class of DBLIB drivers.
* It provides workarounds for improperly implemented functionalities ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/mssql/TableSchema.php | framework/db/mssql/TableSchema.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db\mssql;
/**
* TableSchema represents the metadata of a database table.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class TableSc... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/mssql/ColumnSchema.php | framework/db/mssql/ColumnSchema.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db\mssql;
/**
* Class ColumnSchema for MSSQL database
*
* @since 2.0.23
*/
class ColumnSchema extends \yii\db\ColumnSchema
{
/**
* @var bo... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/mssql/PDO.php | framework/db/mssql/PDO.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db\mssql;
/**
* This is an extension of the default PDO class of MSSQL and DBLIB drivers.
* It provides workarounds for improperly implemented functi... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/mssql/Schema.php | framework/db/mssql/Schema.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db\mssql;
use Yii;
use yii\db\CheckConstraint;
use yii\db\Constraint;
use yii\db\ConstraintFinderInterface;
use yii\db\ConstraintFinderTrait;
use yii\d... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/db/mssql/SqlsrvPDO.php | framework/db/mssql/SqlsrvPDO.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\db\mssql;
/**
* This is an extension of the default PDO class of SQLSRV driver.
* It provides workarounds for improperly implemented functionalities ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.