Omeka_Db_Select

Package: Db

class Omeka_Db_Select

extends Zend_Db_Select

Class for SQL SELECT generation and results.

Omeka_Db_Select::__construct($adapter = null)
Parameters:
  • $adapter (Zend_Db_Adapter) – (optional) Adapter to use instead of the one set up by Omeka.
Omeka_Db_Select::hasJoin($name)

Detect if this SELECT joins with the given table.

Parameters:
  • $name (string) – Table name.
Returns:

bool