public function get_class_vars( $class_name, $var ) {
		$class          = Singleton::get_instance( $class_name, $this );
		$reflection_obj = new \ReflectionObject( $class );
		if ( ! $reflection_obj->hasProperty( $var ) ) {
			return false;
		}
		$property = $reflection_obj->getProperty( $var );
		$property->setAccessible( true );

		return $property->getValue( $class );
	}
public function get_class_vars( $class_name, $var ) {
		$class          = Singleton::get_instance( $class_name, $this );
		$reflection_obj = new \ReflectionObject( $class );
		if ( ! $reflection_obj->hasProperty( $var ) ) {
			return false;
		}
		$property = $reflection_obj->getProperty( $var );
		$property->setAccessible( true );

		return $property->getValue( $class );
	}
public function get_class_vars ( $ class_name , $ var ) { $ class = Singleton :: get_instance ( $ class_name , $ this ) ; $ reflection_obj = new \ ReflectionObject ( $ class ) ; if ( ! $ reflection_obj -> hasProperty ( $ var ) ) { return false ; } $ property = $ reflection_obj -> getProperty ( $ var ) ; $ property -> setAccessible ( true ) ; return $ property -> getValue ( $ class ) ; }
Getter for class variables.

@param string $class_name Name of class.
@param string $var        Name of variable.

@return mixed
Getter for class variables .