mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
@ -103,4 +103,4 @@ class AccessControl extends ActionFilter
|
||||
throw new HttpException(403, Yii::t('yii|You are not allowed to perform this action.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -185,4 +185,4 @@ class AccessRule extends Component
|
||||
{
|
||||
return empty($this->matchCallback) || call_user_func($this->matchCallback, $this, $action);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -173,4 +173,4 @@ class AssetBundle extends Object
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -59,4 +59,4 @@ class AssetConverter extends Component implements IAssetConverter
|
||||
}
|
||||
return "$baseUrl/$asset";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -40,4 +40,4 @@ class Controller extends \yii\base\Controller
|
||||
}
|
||||
return Yii::$app->getUrlManager()->createUrl($route, $params);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -128,4 +128,4 @@ class HttpCache extends ActionFilter
|
||||
{
|
||||
return '"' . base64_encode(sha1($seed, true)) . '"';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,4 +24,4 @@ interface IAssetConverter
|
||||
* need conversion, "$baseUrl/$asset" should be returned.
|
||||
*/
|
||||
public function convert($asset, $basePath, $baseUrl);
|
||||
}
|
||||
}
|
||||
|
||||
@ -78,4 +78,4 @@ interface Identity
|
||||
* @see getAuthKey()
|
||||
*/
|
||||
public function validateAuthKey($authKey);
|
||||
}
|
||||
}
|
||||
|
||||
@ -101,4 +101,4 @@ class PageCache extends ActionFilter
|
||||
{
|
||||
$this->view->endCache();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -205,4 +205,4 @@ class Pagination extends \yii\base\Object
|
||||
{
|
||||
return $this->pageSize < 1 ? -1 : $this->pageSize;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -333,4 +333,4 @@ class Sort extends \yii\base\Object
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,4 +31,4 @@ class UserEvent extends Event
|
||||
* This property is only meaningful for [[User::EVENT_BEFORE_LOGIN]] and [[User::EVENT_BEFORE_LOGOUT]] events.
|
||||
*/
|
||||
public $isValid = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user