No namespace

Function summary

  • __

    Returns a translated string if one is found; Otherwise, the submitted message.

  • __d

    Allows you to override the current domain for a single message lookup.

  • __dn

    Allows you to override the current domain for a single plural message lookup. Returns correct plural form of message identified by $singular and $plural for count $count from domain $domain.

  • __dx

    Allows you to override the current domain for a single message lookup. The context is a unique identifier for the translations string that makes it unique within the same domain.

  • __dxn

    Returns correct plural form of message identified by $singular and $plural for count $count. Allows you to override the current domain for a single message lookup. The context is a unique identifier for the translations string that makes it unique within the same domain.

  • __n

    Returns correct plural form of message identified by $singular and $plural for count $count. Some languages have more than one form for plural messages dependent on the count.

  • __x

    Returns a translated string if one is found; Otherwise, the submitted message. The context is a unique identifier for the translations string that makes it unique within the same domain.

  • __xn

    Returns correct plural form of message identified by $singular and $plural for count $count. Some languages have more than one form for plural messages dependent on the count. The context is a unique identifier for the translations string that makes it unique within the same domain.

  • breakpoint

    Command to return the eval-able code to startup PsySH in interactive debugger Works the same way as eval(\Psy\sh()); psy/psysh must be loaded in your project

  • collection

    Returns a new Cake\Collection\Collection object wrapping the passed argument.

  • debug

    Prints out debug information about given variable.

  • env

    Gets an environment variable from available sources, and provides emulation for unsupported or inconsistent environment variables (i.e. DOCUMENT_ROOT on IIS, or SCRIPT_NAME in CGI mode). Also exposes some additional custom environment information.

  • h

    Convenience method for htmlspecialchars.

  • json_last_error_msg

    Provides the fallback implementation of json_last_error_msg() available in PHP 5.5 and above.

  • namespaceSplit

    Split the namespace from the classname.

  • pj

    json pretty print convenience function.

  • pluginSplit

    Splits a dot syntax plugin name into its plugin and class name. If $name does not have a dot, then index 0 will be null.

  • pr

    print_r() convenience function.

  • stackTrace

    Outputs a stack trace based on the supplied options.

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/3.1/namespace-None.html