Browse Source

updated phpdoc and classmap

tags/2.0.0-rc
Carsten Brandt 10 years ago
parent
commit
6578cfbdab
  1. 1
      build/controllers/PhpDocController.php
  2. 2
      extensions/apidoc/helpers/ApiMarkdownTrait.php
  3. 2
      extensions/apidoc/helpers/IndexFileAnalyzer.php
  4. 2
      extensions/authclient/clients/VKontakte.php
  5. 4
      extensions/elasticsearch/ActiveRecord.php
  6. 3
      framework/classes.php
  7. 2
      framework/db/MigrationInterface.php
  8. 4
      framework/db/Schema.php
  9. 4
      framework/db/Transaction.php
  10. 3
      framework/db/sqlite/Schema.php
  11. 2
      framework/helpers/BaseConsole.php
  12. BIN
      framework/mutex/Mutex.php
  13. 1
      framework/web/Request.php
  14. 2
      framework/widgets/MaskedInput.php
  15. 2
      framework/widgets/MaskedInputAsset.php

1
build/controllers/PhpDocController.php

@ -126,6 +126,7 @@ class PhpDocController extends Controller
'/docs/',
'/extensions/apidoc/helpers/PrettyPrinter.php',
'/extensions/apidoc/helpers/ApiIndexer.php',
'/extensions/apidoc/helpers/ApiMarkdownLaTeX.php',
'/extensions/codeception/TestCase.php',
'/extensions/codeception/DbTestCase.php',
'/extensions/composer/',

2
extensions/apidoc/helpers/ApiMarkdownTrait.php

@ -107,4 +107,4 @@ trait ApiMarkdownTrait
return ['[[', 2];
}
}
}

2
extensions/apidoc/helpers/IndexFileAnalyzer.php

@ -63,4 +63,4 @@ class IndexFileAnalyzer extends Markdown
}
return parent::renderList($block);
}
}
}

2
extensions/authclient/clients/VKontakte.php

@ -101,4 +101,4 @@ class VKontakte extends OAuth2
{
return 'VKontakte';
}
}
}

4
extensions/elasticsearch/ActiveRecord.php

@ -40,9 +40,9 @@ use yii\helpers\StringHelper;
*
* You may override [[index()]] and [[type()]] to define the index and type this record represents.
*
* @property float $score Returns the score of this record when it was retrieved via a [[find()]] query. This
* @property array|null $highlight A list of arrays with highlighted excerpts indexed by field names. This
* property is read-only.
* @property array $highlight Returns a list of arrays with highlighted excerpts indexed by field names. This
* @property float $score Returns the score of this record when it was retrieved via a [[find()]] query. This
* property is read-only.
*
* @author Carsten Brandt <mail@cebe.cc>

3
framework/classes.php

@ -54,6 +54,7 @@ return [
'yii\base\Widget' => YII_PATH . '/base/Widget.php',
'yii\behaviors\AttributeBehavior' => YII_PATH . '/behaviors/AttributeBehavior.php',
'yii\behaviors\BlameableBehavior' => YII_PATH . '/behaviors/BlameableBehavior.php',
'yii\behaviors\SluggableBehavior' => YII_PATH . '/behaviors/SluggableBehavior.php',
'yii\behaviors\TimestampBehavior' => YII_PATH . '/behaviors/TimestampBehavior.php',
'yii\caching\ApcCache' => YII_PATH . '/caching/ApcCache.php',
'yii\caching\Cache' => YII_PATH . '/caching/Cache.php',
@ -96,7 +97,9 @@ return [
'yii\db\DataReader' => YII_PATH . '/db/DataReader.php',
'yii\db\Exception' => YII_PATH . '/db/Exception.php',
'yii\db\Expression' => YII_PATH . '/db/Expression.php',
'yii\db\IntegrityException' => YII_PATH . '/db/IntegrityException.php',
'yii\db\Migration' => YII_PATH . '/db/Migration.php',
'yii\db\MigrationInterface' => YII_PATH . '/db/MigrationInterface.php',
'yii\db\Query' => YII_PATH . '/db/Query.php',
'yii\db\QueryBuilder' => YII_PATH . '/db/QueryBuilder.php',
'yii\db\QueryInterface' => YII_PATH . '/db/QueryInterface.php',

2
framework/db/MigrationInterface.php

@ -32,4 +32,4 @@ interface MigrationInterface
* and should not proceed further. All other return values mean the migration succeeds.
*/
public function down();
}
}

4
framework/db/Schema.php

@ -25,6 +25,10 @@ use yii\caching\GroupDependency;
* @property string[] $tableNames All table names in the database. This property is read-only.
* @property TableSchema[] $tableSchemas The metadata for all tables in the database. Each array element is an
* instance of [[TableSchema]] or its child class. This property is read-only.
* @property string $transactionIsolationLevel The transaction isolation level to use for this transaction.
* This can be one of [[Transaction::READ_UNCOMMITTED]], [[Transaction::READ_COMMITTED]],
* [[Transaction::REPEATABLE_READ]] and [[Transaction::SERIALIZABLE]] but also a string containing DBMS specific
* syntax to be used after `SET TRANSACTION ISOLATION LEVEL`. This property is write-only.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0

4
framework/db/Transaction.php

@ -32,6 +32,10 @@ use yii\base\InvalidConfigException;
*
* @property boolean $isActive Whether this transaction is active. Only an active transaction can [[commit()]]
* or [[rollBack()]]. This property is read-only.
* @property string $isolationLevel The transaction isolation level to use for this transaction. This can be
* one of [[READ_UNCOMMITTED]], [[READ_COMMITTED]], [[REPEATABLE_READ]] and [[SERIALIZABLE]] but also a string
* containing DBMS specific syntax to be used after `SET TRANSACTION ISOLATION LEVEL`. This property is
* write-only.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0

3
framework/db/sqlite/Schema.php

@ -16,6 +16,9 @@ use yii\db\Transaction;
/**
* Schema is the class for retrieving metadata from a SQLite (2/3) database.
*
* @property string $transactionIsolationLevel The transaction isolation level to use for this transaction.
* This can be either [[Transaction::READ_UNCOMMITTED]] or [[Transaction::SERIALIZABLE]].
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/

2
framework/helpers/BaseConsole.php

@ -380,8 +380,6 @@ class BaseConsole
self::CROSSED_OUT => ['text-decoration' => ['line-through']],
self::BLINK => ['text-decoration' => ['blink']],
self::CONCEALED => ['visibility' => 'hidden'],
// self::ENCIRCLED:
// self::FRAMED:
] + $styleMap;
$tags = 0;

BIN
framework/mutex/Mutex.php

Binary file not shown.

1
framework/web/Request.php

@ -42,6 +42,7 @@ use yii\helpers\StringHelper;
* @property string $csrfToken The token used to perform CSRF validation. This property is read-only.
* @property string $csrfTokenFromHeader The CSRF token sent via [[CSRF_HEADER]] by browser. Null is returned
* if no such header is sent. This property is read-only.
* @property array $eTags The entity tags. This property is read-only.
* @property HeaderCollection $headers The header collection. This property is read-only.
* @property string $hostInfo Schema and hostname part (with port number if needed) of the request URL (e.g.
* `http://www.yiiframework.com`).

2
framework/widgets/MaskedInput.php

@ -50,7 +50,7 @@ class MaskedInput extends InputWidget
* - `9`: represents a numeric character (0-9)
* - `*`: represents an alphanumeric character (A-Z, a-z, 0-9)
* - `[` and `]`: anything entered between the square brackets is considered optional user input. This is
* based on the `optionalmarker` setting in [[clientOptions]].
* based on the `optionalmarker` setting in [[clientOptions]].
*
* Additional definitions can be set through the [[definitions]] property.
*/

2
framework/widgets/MaskedInputAsset.php

@ -13,7 +13,7 @@ use yii\web\AssetBundle;
* The asset bundle for the [[MaskedInput]] widget.
*
* Includes client assets of [jQuery input mask plugin](https://github.com/RobinHerbots/jquery.inputmask).
*
*
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @since 2.0
*/

Loading…
Cancel
Save