Exemplo n.º 1
0
 /**
  * Check if an object (owner id & type) is already bookmarked
  */
 public static function exists($type, $value, $owner = 0)
 {
     $o = new Bookmark();
     $o->type = $type;
     $o->value = $value;
     $o->owner = $owner;
     return SqlObject::exists($o, self::$tbl_name);
 }