Commit 098567ce by Carsten Brandt

fixed phpdoc errors and updated properties

parent 72145098
...@@ -14,6 +14,13 @@ defined('STDOUT') or define('STDOUT', fopen('php://stdout', 'w')); ...@@ -14,6 +14,13 @@ defined('STDOUT') or define('STDOUT', fopen('php://stdout', 'w'));
define('YII_DEBUG', true); define('YII_DEBUG', true);
$vendor = __DIR__ . '/../vendor/autoload.php';
if (file_exists($vendor)) {
require($vendor);
} else {
echo "composer autoloader could not be found.\nYou should run `composer install` in repo root directory.\n";
exit(1);
}
require(__DIR__ . '/../framework/Yii.php'); require(__DIR__ . '/../framework/Yii.php');
$application = new yii\console\Application([ $application = new yii\console\Application([
......
...@@ -7,6 +7,9 @@ use yii\debug\components\search\Filter; ...@@ -7,6 +7,9 @@ use yii\debug\components\search\Filter;
/** /**
* Mail represents the model behind the search form about current send emails. * Mail represents the model behind the search form about current send emails.
*
* @author Mark Jebri <mark.github@yandex.ru>
* @since 2.0
*/ */
class Mail extends Base class Mail extends Base
{ {
......
...@@ -13,6 +13,8 @@ use yii\debug\Panel; ...@@ -13,6 +13,8 @@ use yii\debug\Panel;
/** /**
* Debugger panel that collects and displays application configuration and environment. * Debugger panel that collects and displays application configuration and environment.
* *
* @property array $extensions This property is read-only.
*
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */
......
...@@ -15,6 +15,8 @@ use yii\debug\models\search\Db; ...@@ -15,6 +15,8 @@ use yii\debug\models\search\Db;
/** /**
* Debugger panel that collects and displays database queries performed. * Debugger panel that collects and displays database queries performed.
* *
* @property array $profileLogs This property is read-only.
*
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */
......
...@@ -11,6 +11,11 @@ use yii\helpers\FileHelper; ...@@ -11,6 +11,11 @@ use yii\helpers\FileHelper;
/** /**
* Debugger panel that collects and displays the generated emails. * Debugger panel that collects and displays the generated emails.
*
* @property array $messages Messages. This property is read-only.
*
* @author Mark Jebri <mark.github@yandex.ru>
* @since 2.0
*/ */
class MailPanel extends Panel class MailPanel extends Panel
{ {
......
<?php <?php
/** /**
* @author Carsten Brandt <mail@cebe.cc> * @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/ */
namespace yii\elasticsearch; namespace yii\elasticsearch;
use yii\base\Action; use yii\base\Action;
use yii\base\NotSupportedException; use yii\base\NotSupportedException;
use yii\debug\Panel; use yii\debug\Panel;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\web\HttpException; use yii\web\HttpException;
use Yii;
use yii\web\Response; use yii\web\Response;
use Yii;
/**
* Debug Action is used by [[DebugPanel]] to perform elasticsearch queries using ajax.
*
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0
*/
class DebugAction extends Action class DebugAction extends Action
{ {
/** /**
......
...@@ -17,8 +17,11 @@ use yii\web\Controller; ...@@ -17,8 +17,11 @@ use yii\web\Controller;
/** /**
* *
* @property array $columnNames Model column names. This property is read-only.
* @property string $controllerID The controller ID (without the module ID prefix). This property is * @property string $controllerID The controller ID (without the module ID prefix). This property is
* read-only. * read-only.
* @property array $searchAttributes Searchable attributes. This property is read-only.
* @property boolean|\yii\db\TableSchema $tableSchema This property is read-only.
* @property string $viewPath The action view file path. This property is read-only. * @property string $viewPath The action view file path. This property is read-only.
* *
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
......
...@@ -17,6 +17,8 @@ use yii\helpers\Html; ...@@ -17,6 +17,8 @@ use yii\helpers\Html;
/** /**
* TwigViewRenderer allows you to use Twig templates in views. * TwigViewRenderer allows you to use Twig templates in views.
* *
* @property array $lexerOptions @see self::$lexerOptions. This property is write-only.
*
* @author Alexander Makarov <sam@rmcreative.ru> * @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0 * @since 2.0
*/ */
......
...@@ -12,6 +12,8 @@ use yii\base\InvalidParamException; ...@@ -12,6 +12,8 @@ use yii\base\InvalidParamException;
/** /**
* QueryBuilder is the query builder for Oracle databases. * QueryBuilder is the query builder for Oracle databases.
* *
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/ */
class QueryBuilder extends \yii\db\QueryBuilder class QueryBuilder extends \yii\db\QueryBuilder
{ {
......
...@@ -16,8 +16,6 @@ use yii\helpers\Html; ...@@ -16,8 +16,6 @@ use yii\helpers\Html;
* *
* @property string $canonicalUrl The canonical URL of the currently requested page. This property is * @property string $canonicalUrl The canonical URL of the currently requested page. This property is
* read-only. * read-only.
* @property View $view The view object that can be used to render views or view files. This property is
* read-only.
* *
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
......
...@@ -14,6 +14,8 @@ use yii\base\Model; ...@@ -14,6 +14,8 @@ use yii\base\Model;
use yii\web\JsExpression; use yii\web\JsExpression;
/** /**
* ActiveField represents a form input field within an [[ActiveForm]].
*
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment