Search for Id

  1. Search 9.5.x for Id
  2. Search 8.9.x for Id
  3. Search 10.3.x for Id
  4. Search 11.x for Id
  5. Other projects
Title Object type File name Summary
DatabaseConnection_sqlite::nextId function includes/database/sqlite/database.inc Retrieves an unique id from a given sequence.
DatabaseInsertTestCase::testInsertLastInsertID function modules/simpletest/tests/database_test.test Test that inserts return the proper auto-increment ID.
DatabaseInvalidDataTestCase class modules/simpletest/tests/database_test.test Test invalid data handling.
DatabaseInvalidDataTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseInvalidDataTestCase::setUp function modules/simpletest/tests/database_test.test Sets up a Drupal site for running functional and integration tests.
DatabaseInvalidDataTestCase::testInsertDuplicateData function modules/simpletest/tests/database_test.test Traditional SQL database systems abort inserts when invalid data is encountered.
DatabaseMergeTestCase::testInvalidMerge function modules/simpletest/tests/database_test.test Test that an invalid merge query throws an exception like it is supposed to.
DatabaseNextIdCase class modules/simpletest/tests/database_test.test Check the sequences API.
DatabaseNextIdCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseNextIdCase::testDbNextId function modules/simpletest/tests/database_test.test Test that the sequences API work.
DatabaseSchema::$uniqueIdentifier property includes/database/schema.inc A unique identifier for this query object.
DatabaseSchema::uniqueIdentifier function includes/database/schema.inc Implements QueryPlaceHolderInterface::uniqueIdentifier().
DatabaseSchema_pgsql::$maxIdentifierLength property includes/database/pgsql/schema.inc The maximum allowed length for index, primary key and constraint names.
DatabaseSchema_pgsql::ensureIdentifiersLength function includes/database/pgsql/schema.inc Make sure to limit identifiers according to PostgreSQL compiled in length.
DatabaseSelectTestCase::makeCommentsProvider function modules/simpletest/tests/database_test.test Provides expected and input values for testVulnerableComment().
DatabaseStatementEmpty::valid function includes/database/database.inc
DatabaseStatementPrefetch::valid function includes/database/prefetch.inc
DatabaseTasks::validateDatabaseSettings function includes/install.inc Validates driver specific configuration settings.
DatabaseTasks_sqlite::validateDatabaseSettings function includes/database/sqlite/install.inc Validates driver specific configuration settings.
date_validate function includes/form.inc Validates the date type to prevent invalid dates (e.g., February 30, 2006).
dblog_filter_form_validate function modules/dblog/dblog.admin.inc Form validation handler for dblog_filter_form().
db_next_id function includes/database/database.inc Retrieves a unique id.
DrupalCacheArray::$cid property includes/bootstrap.inc A cid to pass to cache_set() and cache_get().
DrupalDatabaseCache::isValidBin function includes/cache.inc Checks if $this->bin represents a valid cache table.
DrupalDefaultEntityController::$idKey property includes/entity.inc Name of the entity's ID field in the entity database table.
DrupalDefaultEntityController::cleanIds function includes/entity.inc Ensures integer entity IDs are valid.
DrupalDefaultEntityController::filterId function includes/entity.inc Callback for array_filter that removes non-integer IDs.
DrupalHTMLIdentifierTestCase class modules/simpletest/tests/common.test Test for cleaning HTML identifiers.
DrupalHTMLIdentifierTestCase::getInfo function modules/simpletest/tests/common.test
DrupalHTMLIdentifierTestCase::setAllowCSSDoubleUnderscores function modules/simpletest/tests/common.test Set the variable allow_css_double_underscores and reset the cache.
DrupalHTMLIdentifierTestCase::testDrupalCleanCSSIdentifier function modules/simpletest/tests/common.test Tests that drupal_clean_css_identifier() cleans the identifier properly.
DrupalHTMLIdentifierTestCase::testDrupalHTMLClass function modules/simpletest/tests/common.test Tests that drupal_html_class() cleans the class name properly.
DrupalHTMLIdentifierTestCase::testDrupalHTMLId function modules/simpletest/tests/common.test Tests that drupal_html_id() cleans the ID properly.
DrupalTagsHandlingTestCase::$validTags property modules/simpletest/tests/common.test
DrupalTestCase::$testId property modules/simpletest/drupal_web_test_case.php The test run ID.
DrupalTestCase::assertIdentical function modules/simpletest/drupal_web_test_case.php Check to see if two values are identical.
DrupalTestCase::assertNotIdentical function modules/simpletest/drupal_web_test_case.php Check to see if two values are not identical.
DrupalWebTestCase::$session_id property modules/simpletest/drupal_web_test_case.php The current session ID, if available.
DrupalWebTestCase::assertFieldById function modules/simpletest/drupal_web_test_case.php Asserts that a field exists in the current page with the given ID and value.
DrupalWebTestCase::assertNoDuplicateIds function modules/simpletest/drupal_web_test_case.php Asserts that each HTML ID is used for just a single element.
DrupalWebTestCase::assertNoFieldById function modules/simpletest/drupal_web_test_case.php Asserts that a field does not exist with the given ID and value.
DRUPAL_ANONYMOUS_RID constant includes/bootstrap.inc Role ID for anonymous users; should match what's in the "role" table.
DRUPAL_AUTHENTICATED_RID constant includes/bootstrap.inc Role ID for authenticated users; should match what's in the "role" table.
drupal_clean_css_identifier function includes/common.inc Prepares a string for use as a CSS identifier (element, class, or ID name).
drupal_html_id function includes/common.inc Prepares a string for use as a valid HTML ID and guarantees uniqueness.
drupal_override_server_variables function includes/bootstrap.inc Sets appropriate server variables needed for command line scripts to work.
drupal_render_cid_create function includes/common.inc Creates the cache ID for a renderable element.
drupal_render_cid_parts function includes/common.inc Returns cache ID parts for building a cache ID.
drupal_session_destroy_uid function includes/session.inc Ends a specific user's session(s).
drupal_session_id function includes/session.inc Session ids are hashed by default before being stored in the database.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.