Issue #2225265 by eojthebrave: Add Utility group/topic for api.drupal.org

8.0.x
Jennifer Hodgdon 2014-03-28 13:19:05 -07:00
parent e9cd089fd0
commit b51b62df2d
19 changed files with 60 additions and 1 deletions

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Utility class for cryptographically-secure string handling routines. * Utility class for cryptographically-secure string handling routines.
*
* @ingroup utility
*/ */
class Crypt { class Crypt {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helpers to perform diffs on multi dimensional arrays. * Provides helpers to perform diffs on multi dimensional arrays.
*
* @ingroup utility
*/ */
class DiffArray { class DiffArray {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides DOMDocument helpers for parsing and serializing HTML strings. * Provides DOMDocument helpers for parsing and serializing HTML strings.
*
* @ingroup utility
*/ */
class Html { class Html {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helpers to operate on images. * Provides helpers to operate on images.
*
* @ingroup utility
*/ */
class Image { class Image {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helpers for dealing with json. * Provides helpers for dealing with json.
*
* @ingroup utility
*/ */
class Json { class Json {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helpers to perform operations on nested arrays and array keys of variable depth. * Provides helpers to perform operations on nested arrays and array keys of variable depth.
*
* @ingroup utility
*/ */
class NestedArray { class NestedArray {

View File

@ -8,6 +8,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helper methods for manipulating numbers. * Provides helper methods for manipulating numbers.
*
* @ingroup utility
*/ */
class Number { class Number {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Defines a utility class for creating random data. * Defines a utility class for creating random data.
*
* @ingroup utility
*/ */
class Random { class Random {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Read only settings that are initialized with the class. * Read only settings that are initialized with the class.
*
* @ingroup utility
*/ */
final class Settings { final class Settings {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides generic array sorting helper methods. * Provides generic array sorting helper methods.
*
* @ingroup utility
*/ */
class SortArray { class SortArray {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helpers to operate on strings. * Provides helpers to operate on strings.
*
* @ingroup utility
*/ */
class String { class String {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Defines a class that can explode and implode tags. * Defines a class that can explode and implode tags.
*
* @ingroup utility
*/ */
class Tags { class Tags {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helpers to use timers throughout a request. * Provides helpers to use timers throughout a request.
*
* @ingroup utility
*/ */
class Timer { class Timer {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides Unicode-related conversions and operations. * Provides Unicode-related conversions and operations.
*
* @ingroup utility
*/ */
class Unicode { class Unicode {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Helper class URL based methods. * Helper class URL based methods.
*
* @ingroup utility
*/ */
class UrlHelper { class UrlHelper {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides user agent related utility functions. * Provides user agent related utility functions.
*
* @ingroup utility
*/ */
class UserAgent { class UserAgent {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helpers for dealing with variables. * Provides helpers for dealing with variables.
*
* @ingroup utility
*/ */
class Variable { class Variable {

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/** /**
* Provides helper to filter for cross-site scripting. * Provides helper to filter for cross-site scripting.
*
* @ingroup utility
*/ */
class Xss { class Xss {

View File

@ -38,10 +38,11 @@
* - @link views_overview Views @endlink * - @link views_overview Views @endlink
* - @link database Database abstraction layer @endlink * - @link database Database abstraction layer @endlink
* *
* @section utility Other essential APIs * @section other_essentials Other essential APIs
* *
* - @link i18n Internationalization @endlink * - @link i18n Internationalization @endlink
* - @link cache Caching @endlink * - @link cache Caching @endlink
* - @link utility Utility classes and functions @endlink
* - @link user_api User accounts, permissions, and roles @endlink * - @link user_api User accounts, permissions, and roles @endlink
* - @link theme_render Theme system and render API @endlink * - @link theme_render Theme system and render API @endlink
* - @link migration Migration @endlink * - @link migration Migration @endlink
@ -476,3 +477,25 @@
* - Automated testing: @link testing Automated tests topic @endlink * - Automated testing: @link testing Automated tests topic @endlink
* @} * @}
*/ */
/**
* @defgroup utility Utility classes and functions
* @{
* Overview of utility classes and functions for developers.
*
* Drupal provides developers with a variety of utility functions that make it
* easier and more efficient to perform tasks that are either really common,
* tedious, or difficult. Utility functions help to reduce code duplication and
* should be used in place of one-off code whenever possible.
*
* @see common.inc
* @see file
* @see format
* @see mail.inc
* @see php_wrappers
* @see sanitization
* @see session.inc
* @see transliteration
* @see validation
* @}
*/