예제 #1
0
 /**
  * Construct a WHERE clause which will match all the given titles.
  *
  * @param string $prefix The appropriate table's field name prefix ('page', 'pl', etc)
  * @param IDatabase $db DatabaseBase object to use
  * @return string|bool String with SQL where clause fragment, or false if no items.
  */
 public function constructSet($prefix, $db)
 {
     return $db->makeWhereFrom2d($this->data, "{$prefix}_namespace", "{$prefix}_title");
 }