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/filters/AjaxFilter.php | framework/filters/AjaxFilter.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters;
use Yii;
use yii\base\ActionFilter;
use yii\base\Component;
use yii\web\BadRequestHttpException;
use yii\web\Request;
/**
* AjaxFilter allow... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/RateLimitInterface.php | framework/filters/RateLimitInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters;
use yii\base\Action;
use yii\base\Controller;
use yii\base\Module;
/**
* RateLimitInterface is the interface that may be implemented by an i... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/AccessControl.php | framework/filters/AccessControl.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters;
use Yii;
use yii\base\ActionFilter;
use yii\base\Component;
use yii\di\Instance;
use yii\web\ForbiddenHttpException;
use yii\web\IdentityInter... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/VerbFilter.php | framework/filters/VerbFilter.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters;
use Yii;
use yii\base\Action;
use yii\base\ActionEvent;
use yii\base\Behavior;
use yii\base\Module;
use yii\web\Controller;
use yii\web\Method... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/AccessRule.php | framework/filters/AccessRule.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters;
use Closure;
use yii\base\Action;
use yii\base\Component;
use yii\base\Controller;
use yii\base\InvalidConfigException;
use yii\base\Module;
u... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/auth/HttpHeaderAuth.php | framework/filters/auth/HttpHeaderAuth.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters\auth;
use yii\base\Component;
/**
* HttpHeaderAuth is an action filter that supports HTTP authentication through HTTP Headers.
*
* You may ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/auth/QueryParamAuth.php | framework/filters/auth/QueryParamAuth.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters\auth;
use yii\base\Component;
/**
* QueryParamAuth is an action filter that supports the authentication based on the access token passed thro... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/auth/HttpBasicAuth.php | framework/filters/auth/HttpBasicAuth.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters\auth;
use yii\base\Component;
/**
* HttpBasicAuth is an action filter that supports the HTTP Basic authentication method.
*
* You may use H... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/auth/AuthMethod.php | framework/filters/auth/AuthMethod.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters\auth;
use Yii;
use yii\base\Action;
use yii\base\ActionFilter;
use yii\base\Component;
use yii\base\Controller;
use yii\base\Module;
use yii\he... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/auth/CompositeAuth.php | framework/filters/auth/CompositeAuth.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters\auth;
use Yii;
use yii\base\ActionFilter;
use yii\base\Component;
use yii\base\Controller;
use yii\base\InvalidConfigException;
/**
* Composi... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/auth/HttpBearerAuth.php | framework/filters/auth/HttpBearerAuth.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters\auth;
use yii\base\Component;
/**
* HttpBearerAuth is an action filter that supports the authentication method based on HTTP Bearer token.
*... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/filters/auth/AuthInterface.php | framework/filters/auth/AuthInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\filters\auth;
use yii\web\IdentityInterface;
use yii\web\Request;
use yii\web\Response;
use yii\web\UnauthorizedHttpException;
use yii\web\User;
/**
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/captcha/CaptchaAsset.php | framework/captcha/CaptchaAsset.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\captcha;
use yii\web\AssetBundle;
/**
* This asset bundle provides the javascript files needed for the [[Captcha]] widget.
*
* @author Qiang Xue <q... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/captcha/Captcha.php | framework/captcha/Captcha.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\captcha;
use yii\base\InvalidConfigException;
use yii\helpers\Html;
use yii\helpers\Json;
use yii\helpers\Url;
use yii\widgets\InputWidget;
/**
* Cap... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/captcha/CaptchaAction.php | framework/captcha/CaptchaAction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\captcha;
use Yii;
use yii\base\Action;
use yii\base\InvalidConfigException;
use yii\helpers\Url;
use yii\web\Controller;
use yii\web\Response;
/**
* ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/captcha/CaptchaValidator.php | framework/captcha/CaptchaValidator.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\captcha;
use Yii;
use yii\base\InvalidConfigException;
use yii\base\Module;
use yii\helpers\Json;
use yii\validators\ValidationAsset;
use yii\validator... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/Assignment.php | framework/rbac/Assignment.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
use yii\base\BaseObject;
/**
* Assignment represents an assignment of a role to a user.
*
* For more details and usage information on Assignm... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/CheckAccessInterface.php | framework/rbac/CheckAccessInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
/**
* For more details and usage information on CheckAccessInterface, see the [guide article on security authorization](guide:security-authoriza... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/Role.php | framework/rbac/Role.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
/**
* For more details and usage information on Role, see the [guide article on security authorization](guide:security-authorization).
*
* @au... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/BaseManager.php | framework/rbac/BaseManager.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
use yii\base\Component;
use yii\base\InvalidArgumentException;
use yii\base\InvalidConfigException;
use yii\base\InvalidValueException;
/**
* B... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/ManagerInterface.php | framework/rbac/ManagerInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
/**
* For more details and usage information on ManagerInterface, see the [guide article on security authorization](guide:security-authorization... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/Item.php | framework/rbac/Item.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
use yii\base\BaseObject;
/**
* For more details and usage information on Item, see the [guide article on security authorization](guide:security... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/DbManager.php | framework/rbac/DbManager.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
use Yii;
use yii\base\InvalidArgumentException;
use yii\base\InvalidCallException;
use yii\caching\CacheInterface;
use yii\db\Connection;
use yii... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | true |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/Permission.php | framework/rbac/Permission.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
/**
* For more details and usage information on Permission, see the [guide article on security authorization](guide:security-authorization).
*
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/PhpManager.php | framework/rbac/PhpManager.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
use Yii;
use yii\base\InvalidArgumentException;
use yii\base\InvalidCallException;
use yii\helpers\VarDumper;
/**
* PhpManager represents an au... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/Rule.php | framework/rbac/Rule.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rbac;
use yii\base\BaseObject;
/**
* Rule represents a business constraint that may be associated with a role, permission or assignment.
*
* For mo... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/migrations/m200409_110543_rbac_update_mssql_trigger.php | framework/rbac/migrations/m200409_110543_rbac_update_mssql_trigger.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
use yii\base\InvalidConfigException;
use yii\db\Migration;
use yii\db\Query;
use yii\rbac\DbManager;
/**
* Fix MSSQL trigger.
*
* @see https://github.com/yiisoft... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/migrations/m180523_151638_rbac_updates_indexes_without_prefix.php | framework/rbac/migrations/m180523_151638_rbac_updates_indexes_without_prefix.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
use yii\base\InvalidConfigException;
use yii\db\Migration;
use yii\rbac\DbManager;
/**
* Updates indexes without a prefix.
*
* @see https://github.com/yiisoft/yi... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rbac/migrations/m140506_102106_rbac_init.php | framework/rbac/migrations/m140506_102106_rbac_init.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
use yii\base\InvalidConfigException;
use yii\rbac\DbManager;
/**
* Initializes RBAC tables.
*
* @author Alexander Kochetov <creocoder@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/rbac/migrations/m170907_052038_rbac_add_index_on_auth_assignment_user_id.php | framework/rbac/migrations/m170907_052038_rbac_add_index_on_auth_assignment_user_id.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
use yii\base\InvalidConfigException;
use yii\db\Migration;
use yii\rbac\DbManager;
/**
* Adds index on `user_id` column in `auth_assignment` table for performance ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/ActiveController.php | framework/rest/ActiveController.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use yii\base\InvalidConfigException;
use yii\base\Model;
use yii\base\Module;
use yii\web\ForbiddenHttpException;
/**
* ActiveController implem... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/ViewAction.php | framework/rest/ViewAction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
/**
* ViewAction implements the API endpoint for returning the detailed information about a model.
*
* For more details and usage information ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/OptionsAction.php | framework/rest/OptionsAction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use yii\base\Action as BaseAction;
use Yii;
/**
* OptionsAction responds to the OPTIONS request by sending back an `Allow` header.
*
* For mo... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/Action.php | framework/rest/Action.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use yii\base\InvalidConfigException;
use yii\db\ActiveRecordInterface;
use yii\web\NotFoundHttpException;
use yii\base\Action as BaseAction;
/**... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/Controller.php | framework/rest/Controller.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\filters\auth\CompositeAuth;
use yii\filters\ContentNegotiator;
use yii\filters\RateLimiter;
use yii\filters\VerbFilter;
use yii\... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/CreateAction.php | framework/rest/CreateAction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\base\Model;
use yii\helpers\Url;
use yii\web\ServerErrorHttpException;
/**
* CreateAction implements the API endpoint for crea... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/IndexAction.php | framework/rest/IndexAction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\data\ActiveDataProvider;
use yii\data\DataFilter;
use yii\data\Pagination;
use yii\data\Sort;
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/rest/UrlRule.php | framework/rest/UrlRule.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\Inflector;
use yii\web\CompositeUrlRule;
use yii\web\UrlRule as WebUrlRule;
use yii... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/UpdateAction.php | framework/rest/UpdateAction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\base\Model;
use yii\db\ActiveRecord;
use yii\web\ServerErrorHttpException;
/**
* UpdateAction implements the API endpoint for ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/DeleteAction.php | framework/rest/DeleteAction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\web\ServerErrorHttpException;
/**
* DeleteAction implements the API endpoint for deleting a model.
*
* For more details and ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/rest/Serializer.php | framework/rest/Serializer.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\base\Arrayable;
use yii\base\Component;
use yii\base\Model;
use yii\data\DataProviderInterface;
use yii\data\Pagination;
use yii... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/DbDependency.php | framework/caching/DbDependency.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
use yii\base\InvalidConfigException;
use yii\db\Connection;
use yii\di\Instance;
/**
* DbDependency represents a dependency based on the que... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/Dependency.php | framework/caching/Dependency.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* Dependency is the base class for cache dependency classes.
*
* Child classes should override its [[generateDependencyData()]] for gen... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/DbCache.php | framework/caching/DbCache.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\Connection;
use yii\db\PdoValue;
use yii\db\Query;
use yii\di\Instance;
/**
* DbCac... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/ApcCache.php | framework/caching/ApcCache.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
use yii\base\InvalidConfigException;
/**
* ApcCache provides APC caching in terms of an application component.
*
* To use this application... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/CacheInterface.php | framework/caching/CacheInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* CacheInterface is the base interface for cache.
*
* A data item can be stored in the cache by calling [[set()]] and be retrieved back... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/TagDependency.php | framework/caching/TagDependency.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* TagDependency associates a cached data item with one or multiple [[tags]].
*
* By calling [[invalidate()]], you can invalidate all ca... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/MemCache.php | framework/caching/MemCache.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
use Yii;
use yii\base\InvalidConfigException;
/**
* MemCache implements a cache application component based on [memcache](https://pecl.php.n... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/ExpressionDependency.php | framework/caching/ExpressionDependency.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* ExpressionDependency represents a dependency based on the result of a PHP expression.
*
* ExpressionDependency will use `eval()` to e... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/ChainedDependency.php | framework/caching/ChainedDependency.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* ChainedDependency represents a dependency which is composed of a list of other dependencies.
*
* When [[dependOnAll]] is true, if any... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/CallbackDependency.php | framework/caching/CallbackDependency.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* CallbackDependency represents a dependency based on the result of a callback function.
*
* Callback function should return a value th... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/WinCache.php | framework/caching/WinCache.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* WinCache provides Windows Cache caching in terms of an application component.
*
* To use this application component, the [WinCache PH... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/FileCache.php | framework/caching/FileCache.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
use Yii;
use yii\helpers\FileHelper;
/**
* FileCache implements a cache component using files.
*
* For each data value being cached, FileC... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/MemCacheServer.php | framework/caching/MemCacheServer.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* MemCacheServer represents the configuration data for a single memcache or memcached server.
*
* See [PHP manual](https://www.php.net/... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/Cache.php | framework/caching/Cache.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
use Yii;
use yii\base\Component;
use yii\helpers\StringHelper;
/**
* Cache is the base class for cache classes supporting different cache st... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/DbQueryDependency.php | framework/caching/DbQueryDependency.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
use yii\base\InvalidConfigException;
use yii\db\QueryInterface;
use yii\di\Instance;
/**
* DbQueryDependency represents a dependency based o... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/ArrayCache.php | framework/caching/ArrayCache.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* ArrayCache provides caching for the current request only by storing the values in an array.
*
* See [[Cache]] for common cache operat... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/FileDependency.php | framework/caching/FileDependency.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
use Yii;
use yii\base\InvalidConfigException;
/**
* FileDependency represents a dependency based on a file's last modification time.
*
* I... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/DummyCache.php | framework/caching/DummyCache.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\caching;
/**
* DummyCache is a placeholder cache component.
*
* DummyCache does not cache anything. It is provided so that one can always configure
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/caching/migrations/m150909_153426_cache_init.php | framework/caching/migrations/m150909_153426_cache_init.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
use yii\base\InvalidConfigException;
use yii\caching\DbCache;
use yii\db\Migration;
/**
* Initializes Cache tables.
*
* @author Misbahul D Munir <misbahuldmunir@... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/DataProviderInterface.php | framework/data/DataProviderInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
/**
* DataProviderInterface is the interface that must be implemented by data provider classes.
*
* Data providers are components that sort an... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/ArrayDataProvider.php | framework/data/ArrayDataProvider.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
use yii\helpers\ArrayHelper;
/**
* ArrayDataProvider implements a data provider based on a data array.
*
* The [[allModels]] property contain... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/Pagination.php | framework/data/Pagination.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
use Yii;
use yii\base\BaseObject;
use yii\web\Link;
use yii\web\Linkable;
use yii\web\Request;
/**
* Pagination represents information relevant... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/BaseDataProvider.php | framework/data/BaseDataProvider.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
use Yii;
use yii\base\Component;
use yii\base\InvalidArgumentException;
/**
* BaseDataProvider provides a base class that implements the [[Data... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/SqlDataProvider.php | framework/data/SqlDataProvider.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
use yii\base\InvalidConfigException;
use yii\db\Connection;
use yii\db\Expression;
use yii\db\Query;
use yii\di\Instance;
/**
* SqlDataProvider... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/Sort.php | framework/data/Sort.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
use Yii;
use yii\base\BaseObject;
use yii\base\InvalidConfigException;
use yii\helpers\Html;
use yii\helpers\Inflector;
use yii\web\Request;
/**... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/ActiveDataProvider.php | framework/data/ActiveDataProvider.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
use yii\base\InvalidConfigException;
use yii\base\Model;
use yii\db\ActiveQueryInterface;
use yii\db\Connection;
use yii\db\QueryInterface;
use y... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/ActiveDataFilter.php | framework/data/ActiveDataFilter.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
/**
* ActiveDataFilter allows composing a filtering condition in a format suitable for [[\yii\db\QueryInterface::where()]].
*
* @see DataFilte... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/data/DataFilter.php | framework/data/DataFilter.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\data;
use Yii;
use yii\base\InvalidConfigException;
use yii\base\Model;
use yii\helpers\ArrayHelper;
use yii\validators\BooleanValidator;
use yii\valid... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/log/DbTarget.php | framework/log/DbTarget.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\log;
use yii\base\InvalidConfigException;
use yii\db\Connection;
use yii\db\Exception;
use yii\di\Instance;
use yii\helpers\VarDumper;
/**
* DbTarget... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/log/LogRuntimeException.php | framework/log/LogRuntimeException.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\log;
/**
* LogRuntimeException represents an exception caused by problems with log delivery.
*
* @author Bizley <pawel@positive.codes>
* @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/log/Dispatcher.php | framework/log/Dispatcher.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\log;
use Yii;
use yii\base\Component;
use yii\base\ErrorHandler;
/**
* Dispatcher manages a set of [[Target|log targets]].
*
* Dispatcher implement... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/log/Logger.php | framework/log/Logger.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\log;
use yii\base\Component;
/**
* Logger records logged messages in memory and sends them to different targets if [[dispatcher]] is set.
*
* A Log... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/log/FileTarget.php | framework/log/FileTarget.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\log;
use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\FileHelper;
/**
* FileTarget records log messages in a file.
*
* The log file is... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/log/SyslogTarget.php | framework/log/SyslogTarget.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\log;
use yii\helpers\VarDumper;
/**
* SyslogTarget writes log to syslog.
*
* @author miramir <gmiramir@gmail.com>
* @since 2.0
*/
class SyslogTar... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/log/Target.php | framework/log/Target.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\log;
use Yii;
use yii\base\Component;
use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper;
use yii\helpers\StringHelper;
use yii\helpers\V... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/log/EmailTarget.php | framework/log/EmailTarget.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\log;
use Yii;
use yii\base\InvalidConfigException;
use yii\di\Instance;
use yii\mail\MailerInterface;
/**
* EmailTarget sends selected log messages t... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/log/migrations/m141106_185632_log_init.php | framework/log/migrations/m141106_185632_log_init.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
use yii\base\InvalidConfigException;
use yii\db\Migration;
use yii\log\DbTarget;
/**
* Initializes log table.
*
* The indexes declared are not required. They are... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/grid/GridView.php | framework/grid/GridView.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\grid;
use Closure;
use Yii;
use yii\base\InvalidConfigException;
use yii\base\Model;
use yii\helpers\Html;
use yii\helpers\Json;
use yii\helpers\Url;
u... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/grid/ActionColumn.php | framework/grid/ActionColumn.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\grid;
use Yii;
use yii\helpers\Html;
use yii\helpers\Url;
/**
* ActionColumn is a column for the [[GridView]] widget that displays buttons for viewin... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/grid/SerialColumn.php | framework/grid/SerialColumn.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\grid;
/**
* SerialColumn displays a column of row numbers (1-based).
*
* To add a SerialColumn to the [[GridView]], add it to the [[GridView::column... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/grid/GridViewAsset.php | framework/grid/GridViewAsset.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\grid;
use yii\web\AssetBundle;
/**
* This asset bundle provides the javascript files for the [[GridView]] widget.
*
* @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/grid/CheckboxColumn.php | framework/grid/CheckboxColumn.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\grid;
use Closure;
use yii\base\InvalidConfigException;
use yii\helpers\Html;
use yii\helpers\Json;
/**
* CheckboxColumn displays a column of checkbo... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/grid/RadioButtonColumn.php | framework/grid/RadioButtonColumn.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\grid;
use Closure;
use yii\base\InvalidConfigException;
use yii\helpers\Html;
/**
* RadioButtonColumn displays a column of radio buttons in a grid vi... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/grid/DataColumn.php | framework/grid/DataColumn.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\grid;
use Closure;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use yii\data\ArrayDataProvider;
use yii\db\ActiveQueryInterface;
use yii\helper... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/grid/Column.php | framework/grid/Column.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\grid;
use Closure;
use yii\base\BaseObject;
use yii\helpers\Html;
/**
* Column is the base class of all [[GridView]] column classes.
*
* For more d... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/Link.php | framework/web/Link.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
use yii\base\BaseObject;
/**
* Link represents a link object as defined in [JSON Hypermedia API Language](https://tools.ietf.org/html/draft-kell... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/RequestParserInterface.php | framework/web/RequestParserInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
/**
* Interface for classes that parse the raw request body into a parameters array.
*
* @author Dan Schmidt <danschmidt5189@gmail.com>
* @sin... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/XmlResponseFormatter.php | framework/web/XmlResponseFormatter.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
use DOMDocument;
use DOMElement;
use DOMException;
use yii\base\Arrayable;
use yii\base\Component;
use yii\helpers\StringHelper;
/**
* XmlRespon... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/MultiFieldSession.php | framework/web/MultiFieldSession.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
/**
* MultiFieldSession is the base class for session storage implementations with multi-field data storage support.
*
* With multi-field data ... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/AssetConverterInterface.php | framework/web/AssetConverterInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
/**
* The AssetConverterInterface must be implemented by asset converter classes.
*
* @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/web/HeadersAlreadySentException.php | framework/web/HeadersAlreadySentException.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
use yii\base\Exception;
/**
* HeadersAlreadySentException represents an exception caused by
* any headers that were already sent before web res... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/ServerErrorHttpException.php | framework/web/ServerErrorHttpException.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
/**
* ServerErrorHttpException represents an "Internal Server Error" HTTP exception with status code 500.
*
* @see https://tools.ietf.org/html/... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/SessionHandler.php | framework/web/SessionHandler.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
use SessionHandlerInterface;
/**
* SessionHandler implements an [[\SessionHandlerInterface]] for handling [[Session]] with custom session storag... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/RangeNotSatisfiableHttpException.php | framework/web/RangeNotSatisfiableHttpException.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
/**
* RangeNotSatisfiableHttpException represents an exception caused by an improper request of the end-user.
* This exception thrown when the r... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/ViewAction.php | framework/web/ViewAction.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
use Yii;
use yii\base\Action;
use yii\base\ViewNotFoundException;
/**
* ViewAction represents an action that displays a view according to a user... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/UrlNormalizer.php | framework/web/UrlNormalizer.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
use Yii;
use yii\base\BaseObject;
use yii\base\InvalidConfigException;
/**
* UrlNormalizer normalizes URLs for [[UrlManager]] and [[UrlRule]].
... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/ConflictHttpException.php | framework/web/ConflictHttpException.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
/**
* ConflictHttpException represents a "Conflict" HTTP exception with status code 409.
*
* @see https://tools.ietf.org/html/rfc7231#section-6... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/IdentityInterface.php | framework/web/IdentityInterface.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
/**
* IdentityInterface is the interface that should be implemented by a class providing identity information.
*
* This interface can typically... | php | BSD-3-Clause | c50e2d17498775bb79e89b960ec5346cb3b990ca | 2026-01-04T15:02:42.625334Z | false |
yiisoft/yii2 | https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/framework/web/Controller.php | framework/web/Controller.php | <?php
/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license https://www.yiiframework.com/license/
*/
namespace yii\web;
use Yii;
use yii\base\Exception;
use yii\base\InlineAction;
use yii\helpers\Url;
use yii\base\Action;
use yii\base\Controller as BaseController;
u... | 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.