You are here

function DB_common::getSpecialQuery in Flickr API 5

Obtains the query string needed for listing a given type of objects

@access protected

Parameters

string $type the kind of objects you want to retrieve:

Return value

string the SQL query string or null if the driver doesn't support the object type requested

See also

DB_common::getListOf()

1 call to DB_common::getSpecialQuery()
DB_common::getListOf in phpFlickr/PEAR/DB/common.php
Lists internal database information
2 methods override DB_common::getSpecialQuery()
DB_mysql::getSpecialQuery in phpFlickr/PEAR/DB/mysql.php
Obtains the query string needed for listing a given type of objects
DB_pgsql::getSpecialQuery in phpFlickr/PEAR/DB/pgsql.php
Obtains the query string needed for listing a given type of objects

File

phpFlickr/PEAR/DB/common.php, line 2099

Class

DB_common
DB_common is the base class from which each database driver class extends

Code

function getSpecialQuery($type) {
  return $this
    ->raiseError(DB_ERROR_UNSUPPORTED);
}