mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 01:27:20 +08:00
replaced inheritdoc tags.
This commit is contained in:
@ -26,7 +26,7 @@ class Installer extends LibraryInstaller
|
||||
const EXTENSION_FILE = 'yiisoft/extensions.php';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function supports($packageType)
|
||||
{
|
||||
@ -34,7 +34,7 @@ class Installer extends LibraryInstaller
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
|
||||
{
|
||||
@ -49,7 +49,7 @@ class Installer extends LibraryInstaller
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target)
|
||||
{
|
||||
@ -63,7 +63,7 @@ class Installer extends LibraryInstaller
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
|
||||
{
|
||||
|
||||
@ -20,7 +20,7 @@ use Composer\Plugin\PluginInterface;
|
||||
class Plugin implements PluginInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function activate(Composer $composer, IOInterface $io)
|
||||
{
|
||||
|
||||
@ -139,7 +139,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function search($db = null, $options = [])
|
||||
{
|
||||
@ -161,7 +161,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function scalar($field, $db = null)
|
||||
{
|
||||
@ -177,7 +177,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function column($field, $db = null)
|
||||
{
|
||||
|
||||
@ -61,7 +61,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function find($q = null)
|
||||
{
|
||||
@ -138,7 +138,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
// TODO add percolate functionality http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-percolate.html
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function createQuery()
|
||||
{
|
||||
@ -146,7 +146,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function createActiveRelation($config = [])
|
||||
{
|
||||
@ -175,7 +175,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getPrimaryKey($asArray = false)
|
||||
{
|
||||
@ -187,7 +187,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getOldPrimaryKey($asArray = false)
|
||||
{
|
||||
@ -430,7 +430,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function updateAllCounters($counters, $condition = null, $params = [])
|
||||
{
|
||||
@ -438,7 +438,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function getTableSchema()
|
||||
{
|
||||
@ -446,7 +446,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function tableName()
|
||||
{
|
||||
@ -454,7 +454,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function findBySql($sql, $params = [])
|
||||
{
|
||||
|
||||
@ -63,7 +63,7 @@ abstract class Generator extends Model
|
||||
abstract public function generate();
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
@ -164,7 +164,7 @@ abstract class Generator extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*
|
||||
* Child classes should override this method like the following so that the parent
|
||||
* rules are included:
|
||||
|
||||
@ -18,25 +18,25 @@ use yii\web\AssetBundle;
|
||||
class GiiAsset extends AssetBundle
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $sourcePath = '@yii/gii/assets';
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $css = [
|
||||
'main.css',
|
||||
'typeahead.js-bootstrap.css',
|
||||
];
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $js = [
|
||||
'gii.js',
|
||||
'typeahead.js',
|
||||
];
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $depends = [
|
||||
'yii\web\YiiAsset',
|
||||
|
||||
@ -54,7 +54,7 @@ use yii\web\HttpException;
|
||||
class Module extends \yii\base\Module
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $controllerNamespace = 'yii\gii\controllers';
|
||||
/**
|
||||
@ -92,7 +92,7 @@ class Module extends \yii\base\Module
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
@ -103,7 +103,7 @@ class Module extends \yii\base\Module
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function beforeAction($action)
|
||||
{
|
||||
|
||||
@ -38,7 +38,7 @@ class Generator extends \yii\gii\Generator
|
||||
public $actions = 'index';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
@ -47,7 +47,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
@ -55,7 +55,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
@ -64,7 +64,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
@ -79,7 +79,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attributeLabels()
|
||||
{
|
||||
@ -92,7 +92,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function requiredTemplates()
|
||||
{
|
||||
@ -103,7 +103,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function stickyAttributes()
|
||||
{
|
||||
@ -111,7 +111,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function hints()
|
||||
{
|
||||
@ -134,7 +134,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function successMessage()
|
||||
{
|
||||
@ -149,7 +149,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function generate()
|
||||
{
|
||||
|
||||
@ -69,7 +69,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function hints()
|
||||
{
|
||||
@ -95,7 +95,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function stickyAttributes()
|
||||
{
|
||||
@ -123,7 +123,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function generate()
|
||||
{
|
||||
|
||||
@ -40,7 +40,7 @@ class <?= $searchModelClass ?> extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attributeLabels()
|
||||
{
|
||||
|
||||
@ -26,7 +26,7 @@ class Generator extends \yii\gii\Generator
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
@ -34,7 +34,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
@ -42,7 +42,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function generate()
|
||||
{
|
||||
@ -55,7 +55,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
@ -72,7 +72,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attributeLabels()
|
||||
{
|
||||
@ -85,7 +85,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function requiredTemplates()
|
||||
{
|
||||
@ -93,7 +93,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function stickyAttributes()
|
||||
{
|
||||
@ -101,7 +101,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function hints()
|
||||
{
|
||||
@ -114,7 +114,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function successMessage()
|
||||
{
|
||||
|
||||
@ -32,7 +32,7 @@ class Generator extends \yii\gii\Generator
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
@ -40,7 +40,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
@ -48,7 +48,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
@ -68,7 +68,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attributeLabels()
|
||||
{
|
||||
@ -84,7 +84,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function hints()
|
||||
{
|
||||
@ -111,7 +111,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function autoCompleteData()
|
||||
{
|
||||
@ -128,7 +128,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function requiredTemplates()
|
||||
{
|
||||
@ -136,7 +136,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function stickyAttributes()
|
||||
{
|
||||
@ -144,7 +144,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function generate()
|
||||
{
|
||||
|
||||
@ -33,7 +33,7 @@ namespace <?= $generator->ns ?>;
|
||||
class <?= $className ?> extends <?= '\\' . ltrim($generator->baseClass, '\\') . "\n" ?>
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function tableName()
|
||||
{
|
||||
@ -41,7 +41,7 @@ class <?= $className ?> extends <?= '\\' . ltrim($generator->baseClass, '\\') .
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
@ -49,7 +49,7 @@ class <?= $className ?> extends <?= '\\' . ltrim($generator->baseClass, '\\') .
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attributeLabels()
|
||||
{
|
||||
|
||||
@ -24,7 +24,7 @@ class Generator extends \yii\gii\Generator
|
||||
public $moduleID;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
@ -32,7 +32,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
@ -40,7 +40,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
@ -54,7 +54,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attributeLabels()
|
||||
{
|
||||
@ -65,7 +65,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function hints()
|
||||
{
|
||||
@ -76,7 +76,7 @@ class Generator extends \yii\gii\Generator
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function successMessage()
|
||||
{
|
||||
@ -104,7 +104,7 @@ EOD;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function requiredTemplates()
|
||||
{
|
||||
@ -112,7 +112,7 @@ EOD;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function generate()
|
||||
{
|
||||
|
||||
@ -48,7 +48,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function createQuery()
|
||||
{
|
||||
@ -56,7 +56,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function createActiveRelation($config = [])
|
||||
{
|
||||
@ -87,7 +87,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function insert($runValidation = true, $attributes = null)
|
||||
{
|
||||
@ -294,7 +294,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function getTableSchema()
|
||||
{
|
||||
@ -302,7 +302,7 @@ class ActiveRecord extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public static function findBySql($sql, $params = [])
|
||||
{
|
||||
|
||||
@ -105,7 +105,7 @@ class Cache extends \yii\caching\Cache
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function getValue($key)
|
||||
{
|
||||
@ -113,7 +113,7 @@ class Cache extends \yii\caching\Cache
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function getValues($keys)
|
||||
{
|
||||
@ -127,7 +127,7 @@ class Cache extends \yii\caching\Cache
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function setValue($key, $value, $expire)
|
||||
{
|
||||
@ -140,7 +140,7 @@ class Cache extends \yii\caching\Cache
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function setValues($data, $expire)
|
||||
{
|
||||
@ -174,7 +174,7 @@ class Cache extends \yii\caching\Cache
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function addValue($key, $value, $expire)
|
||||
{
|
||||
@ -187,7 +187,7 @@ class Cache extends \yii\caching\Cache
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function deleteValue($key)
|
||||
{
|
||||
@ -195,7 +195,7 @@ class Cache extends \yii\caching\Cache
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function flushValues()
|
||||
{
|
||||
|
||||
@ -176,7 +176,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function defaultConnection()
|
||||
{
|
||||
@ -201,4 +201,4 @@ class ActiveQuery extends Query implements ActiveQueryInterface
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -197,7 +197,7 @@ class Command extends \yii\db\Command
|
||||
// Not Supported :
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function createTable($table, $columns, $options = null)
|
||||
{
|
||||
@ -205,7 +205,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function renameTable($table, $newName)
|
||||
{
|
||||
@ -213,7 +213,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function dropTable($table)
|
||||
{
|
||||
@ -221,7 +221,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function truncateTable($table)
|
||||
{
|
||||
@ -229,7 +229,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function addColumn($table, $column, $type)
|
||||
{
|
||||
@ -237,7 +237,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function dropColumn($table, $column)
|
||||
{
|
||||
@ -245,7 +245,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function renameColumn($table, $oldName, $newName)
|
||||
{
|
||||
@ -253,7 +253,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function alterColumn($table, $column, $type)
|
||||
{
|
||||
@ -261,7 +261,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function addPrimaryKey($name, $table, $columns)
|
||||
{
|
||||
@ -269,7 +269,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function dropPrimaryKey($name, $table)
|
||||
{
|
||||
@ -277,7 +277,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function addForeignKey($name, $table, $columns, $refTable, $refColumns, $delete = null, $update = null)
|
||||
{
|
||||
@ -285,7 +285,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function dropForeignKey($name, $table)
|
||||
{
|
||||
@ -293,7 +293,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function createIndex($name, $table, $columns, $unique = false)
|
||||
{
|
||||
@ -301,7 +301,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function dropIndex($name, $table)
|
||||
{
|
||||
@ -309,7 +309,7 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function resetSequence($table, $value = null)
|
||||
{
|
||||
@ -317,10 +317,10 @@ class Command extends \yii\db\Command
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function checkIntegrity($check = true, $schema = '')
|
||||
{
|
||||
throw new NotSupportedException('"' . __METHOD__ . '" is not supported.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ use yii\base\NotSupportedException;
|
||||
class Connection extends \yii\db\Connection
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $schemaMap = [
|
||||
'mysqli' => 'yii\sphinx\Schema', // MySQL
|
||||
@ -129,4 +129,4 @@ class Connection extends \yii\db\Connection
|
||||
{
|
||||
throw new NotSupportedException('"' . __METHOD__ . '" is not supported.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -123,7 +123,7 @@ class Mailer extends BaseMailer
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function sendMessage($message)
|
||||
{
|
||||
|
||||
@ -41,7 +41,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getCharset()
|
||||
{
|
||||
@ -49,7 +49,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setCharset($charset)
|
||||
{
|
||||
@ -58,7 +58,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getFrom()
|
||||
{
|
||||
@ -66,7 +66,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setFrom($from)
|
||||
{
|
||||
@ -75,7 +75,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getReplyTo()
|
||||
{
|
||||
@ -83,7 +83,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setReplyTo($replyTo)
|
||||
{
|
||||
@ -92,7 +92,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getTo()
|
||||
{
|
||||
@ -100,7 +100,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setTo($to)
|
||||
{
|
||||
@ -109,7 +109,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getCc()
|
||||
{
|
||||
@ -117,7 +117,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setCc($cc)
|
||||
{
|
||||
@ -126,7 +126,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getBcc()
|
||||
{
|
||||
@ -134,7 +134,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setBcc($bcc)
|
||||
{
|
||||
@ -143,7 +143,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function getSubject()
|
||||
{
|
||||
@ -151,7 +151,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setSubject($subject)
|
||||
{
|
||||
@ -160,7 +160,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setTextBody($text)
|
||||
{
|
||||
@ -169,7 +169,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setHtmlBody($html)
|
||||
{
|
||||
@ -222,7 +222,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attach($fileName, array $options = [])
|
||||
{
|
||||
@ -238,7 +238,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function attachContent($content, array $options = [])
|
||||
{
|
||||
@ -254,7 +254,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function embed($fileName, array $options = [])
|
||||
{
|
||||
@ -269,7 +269,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function embedContent($content, array $options = [])
|
||||
{
|
||||
@ -284,7 +284,7 @@ class Message extends BaseMessage
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function toString()
|
||||
{
|
||||
|
||||
@ -199,7 +199,7 @@ abstract class Application extends Module
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
|
||||
@ -93,7 +93,7 @@ class ActiveDataProvider extends BaseDataProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function prepareModels()
|
||||
{
|
||||
@ -111,7 +111,7 @@ class ActiveDataProvider extends BaseDataProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function prepareKeys($models)
|
||||
{
|
||||
@ -150,7 +150,7 @@ class ActiveDataProvider extends BaseDataProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function prepareTotalCount()
|
||||
{
|
||||
@ -162,7 +162,7 @@ class ActiveDataProvider extends BaseDataProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function setSort($value)
|
||||
{
|
||||
|
||||
@ -66,7 +66,7 @@ class ArrayDataProvider extends BaseDataProvider
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function prepareModels()
|
||||
{
|
||||
@ -87,7 +87,7 @@ class ArrayDataProvider extends BaseDataProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function prepareKeys($models)
|
||||
{
|
||||
@ -107,7 +107,7 @@ class ArrayDataProvider extends BaseDataProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function prepareTotalCount()
|
||||
{
|
||||
|
||||
@ -69,7 +69,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function buildLimit($limit, $offset)
|
||||
{
|
||||
|
||||
@ -142,7 +142,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function buildLimit($limit, $offset)
|
||||
{
|
||||
|
||||
@ -255,7 +255,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function buildLimit($limit, $offset)
|
||||
{
|
||||
|
||||
@ -26,7 +26,7 @@ use Yii;
|
||||
abstract class BaseMessage extends Object implements MessageInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function send(MailerInterface $mailer = null)
|
||||
{
|
||||
|
||||
@ -16,7 +16,7 @@ namespace yii\validators;
|
||||
class SafeValidator extends Validator
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function validateAttribute($object, $attribute)
|
||||
{
|
||||
|
||||
@ -159,7 +159,7 @@ abstract class Validator extends Component
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
|
||||
@ -86,7 +86,7 @@ class Controller extends \yii\base\Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function beforeAction($action)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user