示例#1
0
 public static function find($args = array()) {
   return parent::find(self::k(__CLASS__), $args);
 }
示例#2
0
 public static function find($args = array()) {
   $defaults = array(
     "where" => "`type` = 'p'"
   );
   
   $r = wp_parse_args($args, $defaults);
   
   return parent::find(self::k(__CLASS__), $r);  
 }