$this->categories = tx_dagoupost_lib::getCategories();
For above code: how could I find out wheather getCategories() declared as staticor not? Because we can also call normal function this way: tx_dagoupost_lib::getCategories();, although it is not proper. It seems that I can use this one: ReflectionMethod::isStatic, but I do not know how to use it, there is no example here: http://php.net/manual/en/reflectionmethod.isstatic.php, so can anyone show me how to check if getCategories() is static function.