public function ldap_views_plugin_query_ldap::ensure_table in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_views/plugins/ldap_views_plugin_query_ldap.inc \ldap_views_plugin_query_ldap::ensure_table()
- 7 ldap_views/plugins/ldap_views_plugin_query_ldap.inc \ldap_views_plugin_query_ldap::ensure_table()
Ensure a table exists in the queue; if it already exists it won't do anything, but if it doesn't it will add the table queue. It will ensure a path leads back to the relationship table.
Parameters
$table: The unaliased name of the table to ensure.
$relationship: The relationship to ensure the table links to. Each relationship will get a unique instance of the table being added. If not specified, will be the primary table.
$join: A views_join object (or derived object) to join the alias in.
Return value
The alias used to refer to this specific table, or NULL if the table cannot be ensured.
File
- ldap_views/
plugins/ ldap_views_plugin_query_ldap.inc, line 229 - Defines the default query object which builds and execute a ldap query.
Class
Code
public function ensure_table($table, $relationship = NULL, $join = NULL) {
return $table;
}