php - access static parametr of class in static paramter of a different class -
i'm trying access static paramter of class, witch instance stored in static paramter of class. how looks like.
parent::$model = new $model(); parent::$model::$lang = $lang_id;
php respoding "unexpected '::'" on line i'm trying store $lang_id. please tell, if posiible in php , how do it. thank in advance.
Comments
Post a Comment