Completed
Branch v3.0 (3d1631)
by Samir
15:14
created
web_interface/astpp/system/database/drivers/sqlite/sqlite_utility.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 	 *
54 54
 	 * @access	private
55 55
 	 * @param	string	the table name
56
-	 * @return	object
56
+	 * @return	boolean
57 57
 	 */
58 58
 	function _optimize_table($table)
59 59
 	{
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	 *
70 70
 	 * @access	private
71 71
 	 * @param	string	the table name
72
-	 * @return	object
72
+	 * @return	boolean
73 73
 	 */
74 74
 	function _repair_table($table)
75 75
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/sqlsrv/sqlsrv_driver.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	 * @access	public
127 127
 	 * @param	string
128 128
 	 * @param	string
129
-	 * @return	resource
129
+	 * @return	boolean
130 130
 	 */
131 131
 	function db_set_charset($charset, $collation)
132 132
 	{
@@ -141,6 +141,7 @@  discard block
 block discarded – undo
141 141
 	 *
142 142
 	 * @access	private called by the base class
143 143
 	 * @param	string	an SQL query
144
+	 * @param string $sql
144 145
 	 * @return	resource
145 146
 	 */
146 147
 	function _execute($sql)
@@ -299,7 +300,7 @@  discard block
 block discarded – undo
299 300
 	*
300 301
 	* @access private
301 302
 	* @param string $version
302
-	* @return int16 major version number
303
+	* @return string major version number
303 304
 	*/
304 305
 	function _parse_major_version($version)
305 306
 	{
@@ -389,7 +390,7 @@  discard block
 block discarded – undo
389 390
 	 *
390 391
 	 * @access	public
391 392
 	 * @param	string	the table name
392
-	 * @return	object
393
+	 * @return	string
393 394
 	 */
394 395
 	function _field_data($table)
395 396
 	{
@@ -466,7 +467,7 @@  discard block
 block discarded – undo
466 467
 	 *
467 468
 	 * @access	public
468 469
 	 * @param	type
469
-	 * @return	type
470
+	 * @return	string
470 471
 	 */
471 472
 	function _from_tables($tables)
472 473
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/sqlsrv/sqlsrv_forge.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 	 *
30 30
 	 * @access	private
31 31
 	 * @param	string	the database name
32
-	 * @return	bool
32
+	 * @return	string
33 33
 	 */
34 34
 	function _create_database($name)
35 35
 	{
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	 *
44 44
 	 * @access	private
45 45
 	 * @param	string	the database name
46
-	 * @return	bool
46
+	 * @return	string
47 47
 	 */
48 48
 	function _drop_database($name)
49 49
 	{
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	 * Drop Table
57 57
 	 *
58 58
 	 * @access	private
59
-	 * @return	bool
59
+	 * @return	string
60 60
 	 */
61 61
 	function _drop_table($table)
62 62
 	{
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	 * @param	mixed	primary key(s)
75 75
 	 * @param	mixed	key(s)
76 76
 	 * @param	boolean	should 'IF NOT EXISTS' be added to the SQL
77
-	 * @return	bool
77
+	 * @return	string
78 78
 	 */
79 79
 	function _create_table($table, $fields, $primary_keys, $keys, $if_not_exists)
80 80
 	{
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 	 * @param	string	the default value
187 187
 	 * @param	boolean	should 'NOT NULL' be added
188 188
 	 * @param	string	the field after which we should add the new field
189
-	 * @return	object
189
+	 * @return	string
190 190
 	 */
191 191
 	function _alter_table($alter_type, $table, $column_name, $column_definition = '', $default_value = '', $null = '', $after_field = '')
192 192
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/database/drivers/sqlsrv/sqlsrv_utility.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 	 * List databases
29 29
 	 *
30 30
 	 * @access	private
31
-	 * @return	bool
31
+	 * @return	string
32 32
 	 */
33 33
 	function _list_databases()
34 34
 	{
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	 *
45 45
 	 * @access	private
46 46
 	 * @param	string	the table name
47
-	 * @return	object
47
+	 * @return	boolean
48 48
 	 */
49 49
 	function _optimize_table($table)
50 50
 	{
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 	 *
61 61
 	 * @access	private
62 62
 	 * @param	string	the table name
63
-	 * @return	object
63
+	 * @return	boolean
64 64
 	 */
65 65
 	function _repair_table($table)
66 66
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/helpers/file_helper.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
  */
39 39
 if ( ! function_exists('read_file'))
40 40
 {
41
+	/**
42
+	 * @param string $file
43
+	 */
41 44
 	function read_file($file)
42 45
 	{
43 46
 		if ( ! file_exists($file))
@@ -85,6 +88,10 @@  discard block
 block discarded – undo
85 88
  */
86 89
 if ( ! function_exists('write_file'))
87 90
 {
91
+	/**
92
+	 * @param string $path
93
+	 * @param string $data
94
+	 */
88 95
 	function write_file($path, $data, $mode = FOPEN_WRITE_CREATE_DESTRUCTIVE)
89 96
 	{
90 97
 		if ( ! $fp = @fopen($path, $mode))
@@ -278,6 +285,9 @@  discard block
 block discarded – undo
278 285
 */
279 286
 if ( ! function_exists('get_file_info'))
280 287
 {
288
+	/**
289
+	 * @param string $file
290
+	 */
281 291
 	function get_file_info($file, $returned_values = array('name', 'server_path', 'size', 'date'))
282 292
 	{
283 293
 
Please login to merge, or discard this patch.
web_interface/astpp/system/helpers/security_helper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@
 block discarded – undo
73 73
  */
74 74
 if ( ! function_exists('do_hash'))
75 75
 {
76
+	/**
77
+	 * @param string $str
78
+	 */
76 79
 	function do_hash($str, $type = 'sha1')
77 80
 	{
78 81
 		if ($type == 'sha1')
Please login to merge, or discard this patch.
web_interface/astpp/system/helpers/string_helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
  *
248 248
  * @param   string  $str  required
249 249
  * @param   string  $separator  What should the duplicate number be appended with
250
- * @param   string  $first  Which number should be used for the first dupe increment
250
+ * @param   integer  $first  Which number should be used for the first dupe increment
251 251
  * @return  string
252 252
  */
253 253
 function increment_string($str, $separator = '_', $first = 1)
Please login to merge, or discard this patch.
web_interface/astpp/system/helpers/url_helper.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
  */
40 40
 if ( ! function_exists('site_url'))
41 41
 {
42
+	/**
43
+	 * @return integer|null
44
+	 */
42 45
 	function site_url($uri = '')
43 46
 	{
44 47
 		$CI =& get_instance();
@@ -61,6 +64,9 @@  discard block
 block discarded – undo
61 64
  */
62 65
 if ( ! function_exists('base_url'))
63 66
 {
67
+	/**
68
+	 * @return string
69
+	 */
64 70
 	function base_url($uri = '')
65 71
 	{
66 72
 		$CI =& get_instance();
@@ -262,6 +268,9 @@  discard block
 block discarded – undo
262 268
  */
263 269
 if ( ! function_exists('safe_mailto'))
264 270
 {
271
+	/**
272
+	 * @param string $email
273
+	 */
265 274
 	function safe_mailto($email, $title = '', $attributes = '')
266 275
 	{
267 276
 		$title = (string) $title;
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Cart.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 	 *
81 81
 	 * @access	public
82 82
 	 * @param	array
83
-	 * @return	bool
83
+	 * @return	string|boolean
84 84
 	 */
85 85
 	function insert($items = array())
86 86
 	{
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 	 *
136 136
 	 * @access	private
137 137
 	 * @param	array
138
-	 * @return	bool
138
+	 * @return	false|string
139 139
 	 */
140 140
 	function _insert($items = array())
141 141
 	{
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
 	 * that has options associated with it.
470 470
 	 *
471 471
 	 * @access	public
472
-	 * @return	array
472
+	 * @return	boolean
473 473
 	 */
474 474
 	function has_options($rowid = '')
475 475
 	{
@@ -509,7 +509,7 @@  discard block
 block discarded – undo
509 509
 	 * Returns the supplied number with commas and a decimal point.
510 510
 	 *
511 511
 	 * @access	public
512
-	 * @return	integer
512
+	 * @return	string
513 513
 	 */
514 514
 	function format_number($n = '')
515 515
 	{
Please login to merge, or discard this patch.