access static parametr of class in static paramter of a different class

I’m trying to access a static paramter of a class, witch instance is stored in a static paramter of another class.
This is how it looks like.

parent::$model = new $model(); 
parent::$model::$lang = $lang_id;

php is respoding with “unexpected ‘::'” on the line where I’m trying to store $lang_id.
Please tell, if this is even posiible in php and eventually how do I do it.
Thank you in advance.


Source: oop

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.