some body ask this question,but i want to discuse about fuctionality of class. what happend if we define lot of methods, for exapmle 1000,3000 or more line of code in class. does it affect class performance? i mean if we instance a object of class, all of methods go to memory? and it's spend are memory usage? or it's not important at all.
Like this:
class User extends databaseObject{
protected static $table_name="users";
protected static $db_fields=array('id','user_type_id','firstname','lastname','password','email',
'mobile','ostan_id','city_id','tahsilat_id','education_cluster_id','code_meli','birth_date',
'mobile_verify_code','mail_verify_code','is_instituter','gender_id','active_by','actived_date');
protected static $required=array('firstname','lastname','password','email','mobile');
protected static $missing=array();
public $id;
public $user_type_id;
public $firstname="";
public $lastname="";
public $password;
public $email;
public $mobile;
public $ostan_id;
public $city_id;
public $tahsilat_id;
public $education_cluster_id;
public $code_meli;
public $birth_date;
public $mobile_verify_code;
public $mail_verify_code;
public $is_verified;
public $is_instituter=0;
public $active_by;
public $actived_date;