W3cubDocs

/CakePHP 3.5

No namespace

Function summary

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

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

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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

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

  • Prints out debug information about given variable and dies.

  • Prints out debug information about given variable and returns the variable that was passed.

  • 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.

  • Convenience method for htmlspecialchars.

  • Loads PHPUnit aliases

  • Split the namespace from the classname.

  • json pretty print convenience function.

  • 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.

  • print_r() convenience function.

  • Outputs a stack trace based on the supplied options.

© 2005–2018 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.
https://api.cakephp.org/3.5/namespace-None.html