Returns an array with all the properties of class or its ancestry if no_inheritance is false.
See Implementation
Returns an array with all the properties of class or its ancestry if no_inheritance is false.