Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
/**
* Finds a single active record with the specified condition.
* @param mixed $condition query condition or criteria.
* If a string, it is treated as query condition (the WHERE clause);
* If an array, it is treated as the initial values for constructing a {@link CDbCriteria} object;
* Otherwise, it should be an instance of {@link CDbCriteria}.
* @param array $params parameters to be bound to an SQL statement.
* This is only used when the first parameter is a string (query condition).
* In other cases, please use {@link CDbCriteria::params} to set parameters.
* @return CActiveRecord the record found. Null if no record is found.
*/
public function find($condition='',$params=array())
/**
* Returns the static model of the specified AR class.
* @param string $className
* @return User the static model class
*/
/**
* Returns the static model of the specified AR class.
* @return User the static model class
*/
public static function model($className=__CLASS__)
{
return parent::model($className);
}

You can profile your scripts right from PHPStorm with either xDebug and Zend Debugger. You can see an aggregate report and jump from the execution statistics directly to the function in your PHP code.
Как я «люблю» такие конкретные вопросы…
Как по мне — она и так нормальная, но я mercurial использовал раза два и те readonly.
К сожалению jsdoc так нормально и не работает :(
«jsdoc так нормально и не работает» — надеюсь репорт с примером кода уже в трекере?
К сожалению jsdoc так нормально и не работает :(
include(TEMPLATE_DIR . 'some.php');
include(WWW_DIR . 'some/long/path/template.php');
include($_SERVER['DOCUMENT_ROOT'] . '/fucking/bitrix/header.php');
Вышел PhpStorm 3.0