db_result

  1. drupal
    1. drupal6 database.mysql.inc
    2. drupal6 database.mysqli.inc
    3. drupal6 database.pgsql.inc
    4. drupal7
Versionen
drupal6 db_result($result)
drupal7 db_result(DatabaseStatementInterface $statement)

Verwandte Themen

▾ 45 functions call db_result()

ActionsConfigurationTestCase::testActionConfiguration in modules/simpletest/tests/actions.test
Test the configuration of advanced actions through the administration interface.
BlockTestCase::testBlock in modules/block/block.test
Test configuring and moving a module-define block to specific regions.
BlockTestCase::testBox in modules/block/block.test
Test creating custom block (i.e. box), moving it to a specific region and then deleting it.
BlockTestCase::testBoxFormat in modules/block/block.test
Test creating custom block (i.e. box) using Full HTML.
book_update_6000 in modules/book/book.install
Drupal 5.x to 6.x update.
comment_multiple_delete_confirm in modules/comment/comment.admin.inc
List the selected comments and verify that the admin wants to delete them.
do_search in modules/search/search.module
Do a query on the full-text search index for a word or words.
drupalCreateRole in modules/simpletest/drupal_web_test_case.php
Internal helper function; Create a role with specified permissions.
FieldSqlStorageTestCase::testEntityTypeId in modules/field/modules/field_sql_storage/field_sql_storage.test
FieldSqlStorageTestCase::testFieldAttachSaveMissingData in modules/field/modules/field_sql_storage/field_sql_storage.test
Tests insert and update with missing or NULL fields.
FileSaveUploadTest::testNormal in modules/simpletest/tests/file.test
Test the file_save_upload() function.
filter_admin_format_form_submit in modules/filter/filter.admin.inc
Process text format form submissions.
ForumTestCase::createForum in modules/forum/forum.test
Create a forum container or a forum.
ForumTestCase::doAdminTests in modules/forum/forum.test
Run admin tests on the admin user.
ForumTestCase::verifyForums in modules/forum/forum.test
Verify the logged in user has the desired access to the various forum nodes.
forum_node_presave in modules/forum/forum.module
Implementation of hook_node_presave().
forum_node_update in modules/forum/forum.module
Implementation of hook_node_update().
forum_node_validate in modules/forum/forum.module
Implementation of hook_node_validate().
hook_search in modules/search/search.api.php
Define a custom search routine.
install_verify_drupal in ./install.php
Verify if Drupal is installed.
locale_update_6000 in modules/locale/locale.install
{locales_meta} table became {languages}.
locale_update_6005 in modules/locale/locale.install
Change language setting variable of content types.
MenuIncTestCase::testMenuName in modules/simpletest/tests/menu.test
Tests for menu_name parameter for hook_menu().
MenuRebuildTestCase::testMenuRebuildByVariable in modules/simpletest/tests/menu.test
Test if the 'menu_rebuild_needed' variable triggers a menu_rebuild() call.
NodeSaveTestCase::testImport in modules/node/node.test
Import test, to check if custom node ids are saved properly. Workflow:
pager_query in includes/pager.inc
Perform a paged database query.
ProfileTestCase::createProfileField in modules/profile/profile.test
Create a profile field.
RegistryParseFilesTestCase::testRegistryParseFiles in modules/simpletest/tests/registry.test
testRegistryParseFiles
RegistryParseFileTestCase::testRegistryParseFile in modules/simpletest/tests/registry.test
testRegistryParseFile
search_update_totals in modules/search/search.module
This function is called on shutdown to ensure that search_total is always up to date (even if cron times out or otherwise fails).
simpletest_clean_results_table in modules/simpletest/simpletest.module
Clear the test result tables.
statistics_update_index in modules/statistics/statistics.module
Implementation of hook_update_index().
system_update_6000 in modules/system/system.install
Remove auto_increment from {boxes} to allow adding custom blocks with visibility settings.
system_update_6009 in modules/system/system.install
The PHP filter is now a separate module.
system_update_6018 in modules/system/system.install
Add HTML corrector to HTML formats or replace the old module if it was in use.
system_update_6019 in modules/system/system.install
Reconcile small differences in the previous, manually created mysql and pgsql schemas so they are the same and can be represented by a single schema structure.
system_update_6021 in modules/system/system.install
Migrate the menu items from the old menu system to the new menu_links table.
system_update_6036 in modules/system/system.install
Change the search schema and indexing.
system_update_6041 in modules/system/system.install
Change forum vocabulary not to be required by default and set the weight of the forum.module 1 higher than the taxonomy.module.
TriggerContentTestCase::testActionsContent in modules/trigger/trigger.test
Various tests, all in one function to assure they happen in the right order.
trigger_assign_form_submit in modules/trigger/trigger.admin.inc
Submit function for trigger_assign_form().
trigger_assign_form_validate in modules/trigger/trigger.admin.inc
Validation function for trigger_assign_form().
trigger_menu in modules/trigger/trigger.module
Implementation of hook_menu().
UserSaveTestCase::testUserImport in modules/user/user.test
Test creating a user with arbitrary uid.
_forum_topics_unread in modules/forum/forum.module
Calculate the number of nodes the user has not yet read and are newer than NODE_NEW_LIMIT.

Code

includes/database/database.inc, line 2478

<?php
function db_result(DatabaseStatementInterface $statement) {
  return $statement->fetchField();
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen