Search for code

  1. Search 9.5.x for code
  2. Search 8.9.x for code
  3. Search 10.3.x for code
  4. Search 11.x for code
  5. Search main for code
  6. Other projects
Title Object type File name Summary
Code registry group includes/registry.inc The code registry engine.
code-clean.sh file scripts/code-clean.sh #!/bin/sh

find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE"…
decode_entities function includes/unicode.inc Decodes all HTML entities (including numerical ones) to regular UTF-8 bytes.
drupal_base64_encode function includes/bootstrap.inc Returns a URL-safe, base64 encoded version of the supplied string.
drupal_clear_opcode_cache function includes/bootstrap.inc Invalidates a PHP file from any active opcode caches.
drupal_encode_path function includes/common.inc Encodes a Drupal path for use in a URL.
drupal_json_decode function includes/common.inc Converts an HTML-safe JSON string into its PHP equivalent.
drupal_json_encode function includes/common.inc Converts a PHP variable into its JavaScript equivalent.
drupal_json_encode_helper function includes/json-encode.inc Encodes a PHP variable to HTML-safe JSON for PHP versions below 5.3.0.
FormatDateUnitTest::LANGCODE constant modules/simpletest/tests/common.test Arbitrary langcode for a custom language.
int2vancode function modules/comment/comment.module Generate vancode.
json-encode.inc file includes/json-encode.inc Provides a helper to properly encode HTML-safe JSON prior to PHP 5.3.0.
Menu status codes group includes/menu.inc Status codes for menu callbacks.
mime_header_decode function includes/unicode.inc Decodes MIME/HTTP encoded header values.
mime_header_encode function includes/unicode.inc Encodes MIME/HTTP header values that contain incorrectly encoded characters.
PHPTestCase::$php_code_format property modules/php/php.test
PHPTestCase::createNodeWithCode function modules/php/php.test Creates a test node with PHP code in the body.
PREG_CLASS_UNICODE_WORD_BOUNDARY constant includes/unicode.inc Matches Unicode characters that are word boundaries.
SearchSimplifyTestCase::testSearchSimplifyUnicode function modules/search/search.test Tests that all Unicode characters simplify correctly.
SearchTokenizerTestCase::code2utf function modules/search/search.test Like PHP chr() function, but for unicode characters.
TaxonomyTokenReplaceTestCase::$langcode property modules/taxonomy/taxonomy.test
unicode.entities.inc file includes/unicode.entities.inc
unicode.inc file includes/unicode.inc Provides Unicode-related conversions and operations.
unicode.test file modules/simpletest/tests/unicode.test Various unicode handling tests.
UnicodeTest.txt file modules/search/tests/UnicodeTest.txt
UnicodeUnitTest class modules/simpletest/tests/unicode.test Test unicode handling features implemented in unicode.inc.
UnicodeUnitTest::$extendedMode property modules/simpletest/tests/unicode.test Whether to run the extended version of the tests (including non latin1 characters).
UnicodeUnitTest::getInfo function modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestStrLen function modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestStrToLower function modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestStrToUpper function modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestSubStr function modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestTruncate function modules/simpletest/tests/unicode.test Tests truncate_utf8().
UnicodeUnitTest::helperTestUcFirst function modules/simpletest/tests/unicode.test
UnicodeUnitTest::runTruncateTests function modules/simpletest/tests/unicode.test Runs test cases for helperTestTruncate().
UnicodeUnitTest::testDecodeEntities function modules/simpletest/tests/unicode.test Test decode_entities().
UnicodeUnitTest::testEmulatedUnicode function modules/simpletest/tests/unicode.test Test emulated unicode features.
UnicodeUnitTest::testMbStringUnicode function modules/simpletest/tests/unicode.test Test full unicode features implemented using the mbstring extension.
unicode_check function includes/unicode.inc Wrapper around _unicode_check().
UNICODE_ERROR constant includes/unicode.inc Indicates an error during check for PHP unicode support.
UNICODE_MULTIBYTE constant includes/unicode.inc Indicates that full unicode support with the PHP mbstring extension is being
used.
unicode_requirements function includes/unicode.inc Returns Unicode library status and errors.
UNICODE_SINGLEBYTE constant includes/unicode.inc Indicates that standard PHP (emulated) unicode support is being used.
vancode2int function modules/comment/comment.module Decode vancode back to an integer.
_drupal_decode_exception function includes/errors.inc Decodes an exception and retrieves the correct caller.
_mime_header_decode function includes/unicode.inc Decodes encoded header data passed from mime_header_decode().
_openid_encode_message function modules/openid/openid.inc Encode a message from _openid_create_message for HTTP Post
_password_base64_encode function includes/password.inc Encodes bytes into printable base 64 using the *nix standard from crypt().
_registry_check_code function includes/bootstrap.inc Checks for a resource in the registry.
_unicode_caseflip function includes/unicode.inc Flips U+C0-U+DE to U+E0-U+FD and back.

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