@@ -50,9 +50,8 @@ function clone($object)
50
50
* Loads configuration files. Receives a set of configuration files
51
51
* to load.
52
52
* Example:
53
- * <code>
54
- * config('config1', 'config2');
55
- * </code>
53
+ *
54
+ * `config('config1', 'config2');`
56
55
*
57
56
* @return boolean Success
58
57
*/
@@ -79,9 +78,8 @@ function config() {
79
78
* Loads component/components from LIBS. Takes optional number of parameters.
80
79
*
81
80
* Example:
82
- * <code>
83
- * uses('flay', 'time');
84
- * </code>
81
+ *
82
+ * `uses('flay', 'time');`
85
83
*
86
84
* @param string $name Filename without the .php part
87
85
*/
@@ -212,14 +210,12 @@ function h($text, $charset = null) {
212
210
* Returns an array of all the given parameters.
213
211
*
214
212
* Example:
215
- * <code>
216
- * a('a', 'b')
217
- * </code>
213
+ *
214
+ * `a('a', 'b')`
218
215
*
219
216
* Would return:
220
- * <code>
221
- * array('a', 'b')
222
- * </code>
217
+ *
218
+ * `array('a', 'b')`
223
219
*
224
220
* @return array Array of given parameters
225
221
* @link http://book.cakephp.org/view/694/a
@@ -232,14 +228,12 @@ function a() {
232
228
* Constructs associative array from pairs of arguments.
233
229
*
234
230
* Example:
235
- * <code>
236
- * aa('a','b')
237
- * </code>
231
+ *
232
+ * `aa('a','b')`
238
233
*
239
234
* Would return:
240
- * <code>
241
- * array('a'=>'b')
242
- * </code>
235
+ *
236
+ * `array('a'=>'b')`
243
237
*
244
238
* @return array Associative array
245
239
* @link http://book.cakephp.org/view/695/aa
@@ -507,10 +501,9 @@ function cache($path, $data = null, $expires = '+1 day', $target = 'cache') {
507
501
/**
508
502
* Used to delete files in the cache directories, or clear contents of cache directories
509
503
*
510
- * @param mixed $params As String name to be searched for deletion, if name is a directory all files in directory will be deleted.
511
- * If array, names to be searched for deletion.
512
- * If clearCache() without params, all files in app/tmp/cache/views will be deleted
513
- *
504
+ * @param mixed $params As String name to be searched for deletion, if name is a directory all files in
505
+ * directory will be deleted. If array, names to be searched for deletion. If clearCache() without params,
506
+ * all files in app/tmp/cache/views will be deleted
514
507
* @param string $type Directory in tmp/cache defaults to view directory
515
508
* @param string $ext The file extension you are deleting
516
509
* @return true if files found and deleted false otherwise
@@ -685,13 +678,14 @@ function __dn($domain, $singular, $plural, $count, $return = false) {
685
678
* Valid categories are: LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, LC_MONETARY, LC_MESSAGES and LC_ALL.
686
679
*
687
680
* Note that the category must be specified with a numeric value, instead of the constant name. The values are:
688
- * LC_CTYPE 0
689
- * LC_NUMERIC 1
690
- * LC_TIME 2
691
- * LC_COLLATE 3
692
- * LC_MONETARY 4
693
- * LC_MESSAGES 5
694
- * LC_ALL 6
681
+ *
682
+ * - LC_ALL 0
683
+ * - LC_COLLATE 1
684
+ * - LC_CTYPE 2
685
+ * - LC_MONETARY 3
686
+ * - LC_NUMERIC 4
687
+ * - LC_TIME 5
688
+ * - LC_MESSAGES 6
695
689
*
696
690
* @param string $domain Domain
697
691
* @param string $msg Message to translate
@@ -723,13 +717,14 @@ function __dc($domain, $msg, $category, $return = false) {
723
717
* Valid categories are: LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, LC_MONETARY, LC_MESSAGES and LC_ALL.
724
718
*
725
719
* Note that the category must be specified with a numeric value, instead of the constant name. The values are:
726
- * LC_ALL 0
727
- * LC_COLLATE 1
728
- * LC_CTYPE 2
729
- * LC_MONETARY 3
730
- * LC_NUMERIC 4
731
- * LC_TIME 5
732
- * LC_MESSAGES 6
720
+ *
721
+ * - LC_ALL 0
722
+ * - LC_COLLATE 1
723
+ * - LC_CTYPE 2
724
+ * - LC_MONETARY 3
725
+ * - LC_NUMERIC 4
726
+ * - LC_TIME 5
727
+ * - LC_MESSAGES 6
733
728
*
734
729
* @param string $domain Domain
735
730
* @param string $singular Singular string to translate
@@ -758,13 +753,14 @@ function __dcn($domain, $singular, $plural, $count, $category, $return = false)
758
753
* Valid categories are: LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, LC_MONETARY, LC_MESSAGES and LC_ALL.
759
754
*
760
755
* Note that the category must be specified with a numeric value, instead of the constant name. The values are:
761
- * LC_CTYPE 0
762
- * LC_NUMERIC 1
763
- * LC_TIME 2
764
- * LC_COLLATE 3
765
- * LC_MONETARY 4
766
- * LC_MESSAGES 5
767
- * LC_ALL 6
756
+ *
757
+ * - LC_ALL 0
758
+ * - LC_COLLATE 1
759
+ * - LC_CTYPE 2
760
+ * - LC_MONETARY 3
761
+ * - LC_NUMERIC 4
762
+ * - LC_TIME 5
763
+ * - LC_MESSAGES 6
768
764
*
769
765
* @param string $msg String to translate
770
766
* @param integer $category Category
@@ -926,9 +922,8 @@ function http_build_query($data, $prefix = null, $argSep = null, $baseKey = null
926
922
* Wraps ternary operations. If $condition is a non-empty value, $val1 is returned, otherwise $val2.
927
923
* Don't use for isset() conditions, or wrap your variable with @ operator:
928
924
* Example:
929
- * <code>
930
- * ife(isset($variable), @$variable, 'default');
931
- * </code>
925
+ *
926
+ * `ife(isset($variable), @$variable, 'default');`
932
927
*
933
928
* @param mixed $condition Conditional expression
934
929
* @param mixed $val1 Value to return in case condition matches
0 commit comments