The Scope Resolution Operator (::) is a token that allows access to static, constant, and overridden members or methods of a class.
What kind of visibility did you assign when declaring your properties?
The way you want to access them I suppose the declaration should be
Code:
public static $name
?
Best regards
Jörg