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

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -