Example #1
0
 public function __call($method, $args)
 {
     $output = "RDFs->" . $method . " (";
     foreach ($args as $arg) {
         $output .= $arg . ",";
     }
     $output .= ")";
     webdirx_div::message($output);
 }
Example #2
0
 public function propertyAuto($property, $content, $replacements = NULL)
 {
     $code = "";
     // replace markers in datatypes
     $datatypes = $this->getDatatypes($replacements);
     if (array_key_exists($property, $datatypes)) {
         $code = $this->propertyFast($property, $content, $datatypes[$property]);
     } else {
         @webdirx_div::debug("Property {$property} unknown - no datatype defined");
     }
     return $code;
 }