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. 4
      extensions/elasticsearch/ActiveRecord.php
  3. 3
      framework/classes.php
  4. 4
      framework/db/Schema.php
  5. 4
      framework/db/Transaction.php
  6. 3
      framework/db/sqlite/Schema.php
  7. 2
      framework/helpers/BaseConsole.php
  8. BIN
      framework/mutex/Mutex.php
  9. 1
      framework/web/Request.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/',

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',

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`).

Loading…
Cancel
Save