Answer the question
In order to leave comments, you need to log in
Netbins does not show class properties. Maybe I'm describing the class incorrectly?
I installed a new version of netbins (after reinstalling Windows) and now I see a jamb in old Yii projects - when I write the first letters of the model name in the code, a hint pops up with the names of suitable model classes. When selected in the list, another window pops up with the properties of the model class. So in the new version, these properties are not complete.
Models are generated for Yii using gii.
Get a model like this
<?php
/**
* This is the model class for table "companies".
*
* The followings are the available columns in table 'companies':
* @property integer $id
* @property integer $user_id
* @property string $title
* @property integer $country_id
* @property integer $region_id
....
class Company extends CActiveRecord
{
....
Answer the question
In order to leave comments, you need to log in
/**
* Класс такой то
*
*
* @author Diamon
*/
class Company {
/**
* переменная
*
* @var type
*/
private $name;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question