Search for count

Classes

NameLocationDescription
SearchCommentCountToggleTestCasemodules/search/search.testTests that comment count display toggles properly on comment status of node
UserAccountLinksUnitTestsmodules/user/user.testTest user-links in secondary menu.
UserEditedOwnAccountTestCasemodules/user/user.test
ViewsHandlerFilterCounterTesttests/handlers/views_handler_field_counter.testTests the views_handler_field_counter handler.
views_handler_field_counterhandlers/views_handler_field_counter.incField handler to show a counter of the current row.

Constants

NameLocationDescription
DRUPAL_HASH_COUNTincludes/password.incThe standard log2 number of iterations for password stretching. This should increase by 1 every Drupal version in order to counteract increases in the speed and power of computers available to crack the hashes.
DRUPAL_MAX_HASH_COUNTincludes/password.incThe maximum allowed log2 number of iterations for password stretching.
DRUPAL_MIN_HASH_COUNTincludes/password.incThe minimum allowed log2 number of iterations for password stretching.

Files

NameLocationDescription
handlers/views_handler_field_counter.inchandlers/views_handler_field_counter.incDefinition of views_handler_field_counter.
tests/handlers/views_handler_field_counter.testtests/handlers/views_handler_field_counter.testDefinition of ViewsHandlerFilterCounterTest.

Functions & methods

NameLocationDescription
AggregatorTestCase::getDefaultFeedItemCountmodules/aggregator/aggregator.testReturn the count of the randomly created feed array.
comment_count_unpublishedmodules/comment/comment.moduleReturns a menu title which includes the number of unapproved comments.
comment_new_page_countmodules/comment/comment.moduleCalculate page number for first new comment.
country_get_listincludes/locale.incGet list of all predefined and custom countries.
DatabaseCondition::countincludes/database/query.incImplements Countable::count().
DatabaseSelectComplexTestCase::testCountQuerymodules/simpletest/tests/database_test.testTest that we can generate a count query from a built query.
DatabaseSelectComplexTestCase::testCountQueryDistinctmodules/simpletest/tests/database_test.testTest that we can generate a count query from a query with distinct.
DatabaseSelectComplexTestCase::testCountQueryFieldRemovalsmodules/simpletest/tests/database_test.testTest that countQuery properly removes fields and expressions.
DatabaseSelectComplexTestCase::testCountQueryGroupBymodules/simpletest/tests/database_test.testTest that we can generate a count query from a query with GROUP BY.
DatabaseSelectComplexTestCase::testCountQueryRemovalsmodules/simpletest/tests/database_test.testTest that countQuery properly removes 'all_fields' statements and ordering clauses.
DatabaseSelectComplexTestCase::testHavingCountQuerymodules/simpletest/tests/database_test.test
DatabaseStatementEmpty::rowCountincludes/database/database.incReturns the number of rows affected by the last SQL statement.
DatabaseStatementInterface::rowCountincludes/database/database.incReturns the number of rows affected by the last SQL statement.
DatabaseStatementPrefetch::rowCountincludes/database/prefetch.incReturns the number of rows affected by the last SQL statement.
DatabaseTemporaryQueryTestCase::countTableRowsmodules/simpletest/tests/database_test.testReturn the number of rows of a table.
DBLogTestCase::getTypeCountmodules/dblog/dblog.testGet the count of entries per type.
EntityFieldQuery::countincludes/entity.incSets the query to be a count query only.
hook_countries_altermodules/system/system.api.phpAlter the default country list.
ImageAdminStylesUnitTest::getImageCountmodules/image/image.testCount the number of images currently create for a style.
ModuleTestCase::assertTableCountmodules/system/system.testAssert there are tables that begin with the specified base table name.
OpenIDInvalidIdentifierTransitionTestCase::testStrippedFragmentAccountAutoUpdateSregmodules/openid/openid.testTest OpenID auto transition with e-mail.
OpenIDInvalidIdentifierTransitionTestCase::testStrippedFragmentAccountEmailMismatchmodules/openid/openid.testTest OpenID transition with e-mail mismatch.
PagerDefault::getCountQueryincludes/pager.incRetrieve the count query for this pager.
PagerDefault::setCountQueryincludes/pager.incSpecify the count query object to use for this pager.
SearchCommentCountToggleTestCase::getInfomodules/search/search.test
SearchCommentCountToggleTestCase::setUpmodules/search/search.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchCommentCountToggleTestCase::testSearchCommentCountTogglemodules/search/search.testVerify that comment count display toggles properly on comment status of node
SearchQuery::countQuerymodules/search/search.extender.incBuilds the default count query for SearchQuery.
SelectQuery::countQueryincludes/database/select.incGet the equivalent COUNT query of this query as a new query object.
SelectQueryExtender::countQueryincludes/database/select.incGet the equivalent COUNT query of this query as a new query object.
SelectQueryInterface::countQueryincludes/database/select.incGet the equivalent COUNT query of this query as a new query object.
UserAccountLinksUnitTests::getInfomodules/user/user.test
UserAccountLinksUnitTests::testSecondaryMenumodules/user/user.testTests the secondary menu.
UserEditedOwnAccountTestCase::getInfomodules/user/user.test
UserEditedOwnAccountTestCase::testUserEditedOwnAccountmodules/user/user.test
user_account_formmodules/user/user.moduleHelper function to add default user account fields to user registration and edit form.
user_account_form_validatemodules/user/user.moduleForm validation handler for user_account_form().
user_admin_accountmodules/user/user.admin.incForm builder; User administration page.
user_admin_account_submitmodules/user/user.admin.incSubmit the user administration update form.
user_admin_account_validatemodules/user/user.admin.inc