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.
*
* @ingroup utility
*/
class Crypt {

View File

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

View File

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

View File

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

View File

@ -9,6 +9,8 @@ namespace Drupal\Component\Utility;
/**
* Provides helpers for dealing with json.
*
* @ingroup utility
*/
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.
*
* @ingroup utility
*/
class NestedArray {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -38,10 +38,11 @@
* - @link views_overview Views @endlink
* - @link database Database abstraction layer @endlink
*
* @section utility Other essential APIs
* @section other_essentials Other essential APIs
*
* - @link i18n Internationalization @endlink
* - @link cache Caching @endlink
* - @link utility Utility classes and functions @endlink
* - @link user_api User accounts, permissions, and roles @endlink
* - @link theme_render Theme system and render API @endlink
* - @link migration Migration @endlink
@ -476,3 +477,25 @@
* - 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
* @}
*/