Search for exists

Classes

NameLocationDescription
DatabaseSchemaObjectExistsExceptionincludes/database/schema.incException thrown if an object being created already exists.

Constants

NameLocationDescription
FILE_EXISTS_ERRORincludes/file.incFlag for dealing with existing files: Do nothing and return FALSE.
FILE_EXISTS_RENAMEincludes/file.incFlag for dealing with existing files: Appends number until name is unique.
FILE_EXISTS_REPLACEincludes/file.incFlag for dealing with existing files: Replace the existing file.

Functions & methods

NameLocationDescription
CacheTestCase::assertCacheExistsmodules/simpletest/tests/cache.testAssert or a cache entry exists.
CacheTestCase::checkCacheExistsmodules/simpletest/tests/cache.testCheck whether or not a cache entry exists.
CommentHelperCase::commentExistsmodules/comment/comment.testChecks current page for specified comment.
DatabaseCondition::existsincludes/database/query.incImplements QueryConditionInterface::exists().
DatabaseCondition::notExistsincludes/database/query.incImplements QueryConditionInterface::notExists().
DatabaseRegressionTestCase::testDBFieldExistsmodules/simpletest/tests/database_test.testTest the db_field_exists() function.
DatabaseRegressionTestCase::testDBIndexExistsmodules/simpletest/tests/database_test.testTest the db_index_exists() function.
DatabaseRegressionTestCase::testDBTableExistsmodules/simpletest/tests/database_test.testTest the db_table_exists() function.
DatabaseSchema::fieldExistsincludes/database/schema.incCheck if a column exists in the given table.
DatabaseSchema::indexExistsincludes/database/schema.incChecks if an index exists in the given table.
DatabaseSchema::tableExistsincludes/database/schema.incCheck if a table exists.
DatabaseSchema_mysql::fieldExistsincludes/database/mysql/schema.incCheck if a column exists in the given table.
DatabaseSchema_mysql::indexExistsincludes/database/mysql/schema.incChecks if an index exists in the given table.
DatabaseSchema_mysql::tableExistsincludes/database/mysql/schema.incCheck if a table exists.
DatabaseSchema_pgsql::constraintExistsincludes/database/pgsql/schema.incHelper function: check if a constraint (PK, FK, UK) exists.
DatabaseSchema_pgsql::indexExistsincludes/database/pgsql/schema.incChecks if an index exists in the given table.
DatabaseSchema_sqlite::fieldExistsincludes/database/sqlite/schema.incCheck if a column exists in the given table.
DatabaseSchema_sqlite::indexExistsincludes/database/sqlite/schema.incChecks if an index exists in the given table.
DatabaseSchema_sqlite::tableExistsincludes/database/sqlite/schema.incCheck if a table exists.
DatabaseSelectSubqueryTestCase::testExistsSubquerySelectmodules/simpletest/tests/database_test.testTest EXISTS subquery conditionals on SELECT statements.
DatabaseSelectSubqueryTestCase::testNotExistsSubquerySelectmodules/simpletest/tests/database_test.testTest NOT EXISTS subquery conditionals on SELECT statements.
db_field_existsincludes/database/database.incChecks if a column exists in the given table.
db_index_existsincludes/database/database.incChecks if an index exists in the given table.
db_table_existsincludes/database/database.incChecks if a table exists.
DeleteQuery::existsincludes/database/query.incImplements QueryConditionInterface::exists().
DeleteQuery::notExistsincludes/database/query.incImplements QueryConditionInterface::notExists().
DrupalCacheArray::offsetExistsincludes/bootstrap.incImplements ArrayAccess::offsetExists().
drupal_array_nested_key_existsincludes/common.incDetermines whether a nested array contains the requested keys.
FileFieldTestCase::assertFileEntryExistsmodules/file/tests/file.testAsserts that a file exists in the database.
FileFieldTestCase::assertFileEntryNotExistsmodules/file/tests/file.testAsserts that a file does not exist in the database.
FileFieldTestCase::assertFileExistsmodules/file/tests/file.testAsserts that a file exists physically on disk.
FileFieldTestCase::assertFileNotExistsmodules/file/tests/file.testAsserts that a file does not exist on disk.
file_example_file_check_exists_submitfile_example/file_example.moduleSubmit handler to check existence of a file.
filter_format_existsmodules/filter/filter.moduleDetermines if a text format exists.
menu_edit_menu_name_existsmodules/menu/menu.admin.incReturns whether a menu name already exists.
MergeQuery::existsincludes/database/query.incImplements QueryConditionInterface::exists().
MergeQuery::notExistsincludes/database/query.incImplements QueryConditionInterface::notExists().
module_existsincludes/module.incDetermine whether a given module exists.
QueryConditionInterface::existsincludes/database/query.incSets a condition that the specified subquery returns values.
QueryConditionInterface::notExistsincludes/database/query.incSets a condition that the specified subquery returns no values.
SelectQuery::existsincludes/database/select.inc
SelectQuery::havingExistsincludes/database/select.inc
SelectQuery::havingNotExistsincludes/database/select.inc
SelectQuery::notExistsincludes/database/select.inc
SelectQueryExtender::existsincludes/database/select.inc
SelectQueryExtender::notExistsincludes/database/select.inc