public function __call($method, $args) { $output = "RDFs->" . $method . " ("; foreach ($args as $arg) { $output .= $arg . ","; } $output .= ")"; webdirx_div::message($output); }