mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
fix indentation and add __construct() docblocks
This commit is contained in:
parent
5eb1979b04
commit
89d4b58073
3 changed files with 31 additions and 16 deletions
|
@ -33,11 +33,16 @@ App::uses('AppHelper', 'View/Helper');
|
||||||
*/
|
*/
|
||||||
class NumberHelper extends AppHelper {
|
class NumberHelper extends AppHelper {
|
||||||
|
|
||||||
/** CakeNumber instance
|
/** CakeNumber instance
|
||||||
*/
|
*/
|
||||||
protected $_engine = null;
|
protected $_engine = null;
|
||||||
|
|
||||||
/* Default Constructor
|
/* Default Constructor
|
||||||
|
*
|
||||||
|
* ### Settings:
|
||||||
|
*
|
||||||
|
* - `engine` Class name to use to replace CakeNumber functionality
|
||||||
|
* The class needs to be placed in the `Utility` directory.
|
||||||
*
|
*
|
||||||
* @param View $View The View this helper is being attached to.
|
* @param View $View The View this helper is being attached to.
|
||||||
* @param array $settings Configuration settings for the helper
|
* @param array $settings Configuration settings for the helper
|
||||||
|
@ -54,7 +59,7 @@ class NumberHelper extends AppHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call methods from CakeNumber utility class
|
* Call methods from CakeNumber utility class
|
||||||
*/
|
*/
|
||||||
public function __call($method, $params) {
|
public function __call($method, $params) {
|
||||||
|
|
|
@ -56,6 +56,11 @@ class TextHelper extends AppHelper {
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
* ### Settings:
|
||||||
|
*
|
||||||
|
* - `engine` Class name to use to replace String functionality.
|
||||||
|
* The class needs to be placed in the `Utility` directory.
|
||||||
|
*
|
||||||
* @param View $View the view object the helper is attached to.
|
* @param View $View the view object the helper is attached to.
|
||||||
* @param array $settings Settings array Settings array
|
* @param array $settings Settings array Settings array
|
||||||
*/
|
*/
|
||||||
|
@ -71,7 +76,7 @@ class TextHelper extends AppHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call methods from String utility class
|
* Call methods from String utility class
|
||||||
*/
|
*/
|
||||||
public function __call($method, $params) {
|
public function __call($method, $params) {
|
||||||
|
|
|
@ -40,6 +40,11 @@ class TimeHelper extends AppHelper {
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
* ### Settings:
|
||||||
|
*
|
||||||
|
* - `engine` Class name to use to replace CakeTime functionality
|
||||||
|
* The class needs to be placed in the `Utility` directory.
|
||||||
|
*
|
||||||
* @param View $View the view object the helper is attached to.
|
* @param View $View the view object the helper is attached to.
|
||||||
* @param array $settings Settings array Settings array
|
* @param array $settings Settings array Settings array
|
||||||
*/
|
*/
|
||||||
|
@ -107,7 +112,7 @@ class TimeHelper extends AppHelper {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Call methods from CakeTime utility class
|
* Call methods from CakeTime utility class
|
||||||
*/
|
*/
|
||||||
public function __call($method, $params) {
|
public function __call($method, $params) {
|
||||||
|
|
Loading…
Reference in a new issue