Exemplo n.º 1
0
 function __construct($core, $checker_params = NULL)
 {
     if (is_string($checker_params)) {
         $checker_params = array($checker_params);
     }
     foreach ($checker_params as $key => $param) {
         if (!is_numeric($param)) {
             $param = $core->info->namespace_id_by_name($param);
             if (is_null($param)) {
                 $core->log("Bad namespace (" . $param . ") given to " . get_class($this), LL_ERROR);
             } else {
                 $checker_params[$key] = $param;
             }
         }
     }
     $this->data_property = "ns";
     parent::__construct($core, $checker_params);
 }
Exemplo n.º 2
0
 function __construct($core, $checker_params)
 {
     $this->data_property = "comment";
     parent::__construct($core, $checker_params);
 }
Exemplo n.º 3
0
 function __construct($core, $checker_params = NULL, $fetch_page_properties = NULL)
 {
     $this->data_property = "size";
     parent::__construct($core, $checker_params, $fetch_page_properties);
 }