Skip to content
Browse files

Added @link to CakeNumber's docblock

  • Loading branch information...
1 parent 46d3d8e commit fcf9f34392447853f6c4e41d6d02d5f08efb4f40 @kimegede kimegede committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Utility/CakeNumber.php
View
3 lib/Cake/Utility/CakeNumber.php
@@ -135,6 +135,7 @@ public static function toReadableSize($size) {
* @param mixed $default Value to be returned when invalid size was used, for example 'Unknown type'
* @return mixed Number of bytes as integer on success, `$default` on failure if not false
* @throws CakeException On invalid Unit type.
+ * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::fromReadableSize
*/
public static function fromReadableSize($size, $default = false) {
if (ctype_digit($size)) {
@@ -246,6 +247,7 @@ public static function format($value, $options = false) {
* @param float $value A floating point number
* @param array $options
* @return string formatted delta
+ * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::formatDelta
*/
public static function formatDelta($value, $options = array()) {
$places = isset($options['places']) ? $options['places'] : 0;
@@ -404,6 +406,7 @@ public static function addFormat($formatName, $options) {
*
* @param string $currency Default currency string used by currency() if $currency argument is not provided
* @return string Currency
+ * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::defaultCurrency
*/
public static function defaultCurrency($currency = null) {
if ($currency) {

0 comments on commit fcf9f34

Please sign in to comment.
Something went wrong with that request. Please try again.