Skip to content

Commit

Permalink
Fix links to 3.0 documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gmansilla committed Aug 29, 2014
1 parent 0a24ca3 commit 384d002
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/basics.php
Expand Up @@ -40,8 +40,8 @@
* @param bool $showHtml If set to true, the method prints the debug data in a browser-friendly way.
* @param bool $showFrom If set to true, the method prints from where the function was called.
* @return void
* @link http://book.cakephp.org/2.0/en/development/debugging.html#basic-debugging
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#debug
* @link http://book.cakephp.org/3.0/en/development/debugging.html#basic-debugging
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#debug
*/
function debug($var, $showHtml = null, $showFrom = true) {
if (!Configure::read('debug')) {
Expand Down Expand Up @@ -133,7 +133,7 @@ function stackTrace(array $options = array()) {
* @param bool $double Encode existing html entities
* @param string $charset Character set to use when escaping. Defaults to config value in 'App.encoding' or 'UTF-8'
* @return string Wrapped text
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#h
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#h
*/
function h($text, $double = true, $charset = null) {
if (is_string($text)) {
Expand Down Expand Up @@ -181,7 +181,7 @@ function h($text, $double = true, $charset = null) {
* @param bool $dotAppend Set to true if you want the plugin to have a '.' appended to it.
* @param string $plugin Optional default plugin to use if no plugin is found. Defaults to null.
* @return array Array with 2 indexes. 0 => plugin name, 1 => class name
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#pluginSplit
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#pluginSplit
*/
function pluginSplit($name, $dotAppend = false, $plugin = null) {
if (strpos($name, '.') !== false) {
Expand Down Expand Up @@ -227,7 +227,7 @@ function namespaceSplit($class) {
* @param mixed $var Variable to print out
* @return void
* @see debug()
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#pr
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#pr
* @see debug()
*/
function pr($var) {
Expand All @@ -249,7 +249,7 @@ function pr($var) {
*
* @param string $key Environment variable name.
* @return string Environment variable setting.
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#env
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#env
*/
function env($key) {
if ($key === 'HTTPS') {
Expand Down Expand Up @@ -351,7 +351,7 @@ function env($key) {
* @param string $singular Text to translate
* @param mixed $args Array with arguments or multiple arguments in function
* @return mixed translated string
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#__
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__
*/
function __($singular, $args = null) {
if (!$singular) {
Expand All @@ -375,7 +375,7 @@ function __($singular, $args = null) {
* @param int $count Count
* @param mixed $args Array with arguments or multiple arguments in function
* @return mixed plural form of translated string
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#__n
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__n
*/
function __n($singular, $plural, $count, $args = null) {
if (!$singular) {
Expand All @@ -400,7 +400,7 @@ function __n($singular, $plural, $count, $args = null) {
* @param string $msg String to translate
* @param mixed $args Array with arguments or multiple arguments in function
* @return string translated string
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#__d
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__d
*/
function __d($domain, $msg, $args = null) {
if (!$msg) {
Expand All @@ -425,7 +425,7 @@ function __d($domain, $msg, $args = null) {
* @param int $count Count
* @param mixed $args Array with arguments or multiple arguments in function
* @return string plural form of translated string
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#__dn
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__dn
*/
function __dn($domain, $singular, $plural, $count, $args = null) {
if (!$singular) {
Expand All @@ -450,7 +450,7 @@ function __dn($domain, $singular, $plural, $count, $args = null) {
* @param string $singular Text to translate
* @param mixed $args Array with arguments or multiple arguments in function
* @return mixed translated string
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#__
* @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__
*/
function __x($context, $singular, $args = null) {
if (!$singular) {
Expand Down

0 comments on commit 384d002

Please sign in to comment.