@@ -256,6 +256,7 @@ |
||
| 256 | 256 | //Insert callee cdr entry for DID calls |
| 257 | 257 | /** |
| 258 | 258 | * @param boolean $flag_parent |
| 259 | + * @param string $provider_cost |
|
| 259 | 260 | */ |
| 260 | 261 | function insert_extra_receiver_entry($dataVariable,$origination_rate,$termination_rate,$account_type,$actual_duration,$provider_cost,$parentid,$flag_parent,$accountid,$logger,$db,$decimal_points) |
| 261 | 262 | { |
@@ -115,6 +115,10 @@ |
||
| 115 | 115 | $this->process_invoice($account_value, $start_date, $end_date); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $start_date |
|
| 120 | + * @param string $end_date |
|
| 121 | + */ |
|
| 118 | 122 | function process_invoice($accountdata, $start_date, $end_date) { |
| 119 | 123 | //Get Invoice configuration using single query instead of multiple queries. |
| 120 | 124 | $invoice_conf = array(); |
@@ -43,6 +43,10 @@ discard block |
||
| 43 | 43 | } |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param string $startdate |
|
| 48 | + * @param string $enddate |
|
| 49 | + */ |
|
| 46 | 50 | function process_subscriptions($accountinfo, $startdate, $enddate, $Manualflg = false) { |
| 47 | 51 | // Defined Original Sweep it for calculation start date for first time. |
| 48 | 52 | $accountinfo['original_sweep_id'] = $accountinfo['sweep_id']; |
@@ -101,6 +105,10 @@ discard block |
||
| 101 | 105 | } |
| 102 | 106 | } |
| 103 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $startdate |
|
| 110 | + * @param string $enddate |
|
| 111 | + */ |
|
| 104 | 112 | function process_DID_charges($AccountDATA, $startdate, $enddate, $Manualflg = false) { |
| 105 | 113 | $dids_data = $this->get_table_data("*", "dids", array("status" => "0", "accountid " => $AccountDATA["id"])); |
| 106 | 114 | $AccountDATA['original_sweep_id'] = $AccountDATA['sweep_id']; |
@@ -225,6 +233,7 @@ discard block |
||
| 225 | 233 | |
| 226 | 234 | /** |
| 227 | 235 | * @param string $todate |
| 236 | + * @param string $invoicedate |
|
| 228 | 237 | */ |
| 229 | 238 | function Manage_invoice_item($AccountData, $description, $item_id, $charge, $type, $fromdate, $todate, $invoicedate) { |
| 230 | 239 | $invoiceid = 0; |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * |
| 31 | 31 | * @param string $orientation page orientation, same as TCPDF |
| 32 | 32 | * @param string $unit User measure unit, same as TCPDF |
| 33 | - * @param mixed $format The format used for pages, same as TCPDF |
|
| 33 | + * @param string $format The format used for pages, same as TCPDF |
|
| 34 | 34 | * @param boolean $unicode TRUE means that the input text is unicode (default = true) |
| 35 | 35 | * @param String $encoding charset encoding; default is UTF-8 |
| 36 | 36 | * @param boolean $diskcache if TRUE reduce the RAM memory usage by caching temporary data on filesystem (slower). |
@@ -1407,7 +1407,6 @@ discard block |
||
| 1407 | 1407 | * set $_myLastPageGroup; |
| 1408 | 1408 | * |
| 1409 | 1409 | * @access public |
| 1410 | - * @param integer $myLastPageGroup; |
|
| 1411 | 1410 | * @param integer $myLastPageGroup |
| 1412 | 1411 | */ |
| 1413 | 1412 | public function setMyLastPageGroup($myLastPageGroup) |
@@ -1430,7 +1429,6 @@ discard block |
||
| 1430 | 1429 | * set $_myLastPageGroupNb; |
| 1431 | 1430 | * |
| 1432 | 1431 | * @access public |
| 1433 | - * @param integer $myLastPageGroupNb; |
|
| 1434 | 1432 | * @param integer $myLastPageGroupNb |
| 1435 | 1433 | */ |
| 1436 | 1434 | public function setMyLastPageGroupNb($myLastPageGroupNb) |
@@ -43,6 +43,7 @@ |
||
| 43 | 43 | * Set the HTML2PDF parent object |
| 44 | 44 | * |
| 45 | 45 | * @param &HTML2PDF reference to the HTML2PDF parent $object |
| 46 | + * @param HTML2PDF_myPdf|null $pdf |
|
| 46 | 47 | * @access public |
| 47 | 48 | */ |
| 48 | 49 | public function setPdfParent(&$pdf) |
@@ -50,6 +50,7 @@ |
||
| 50 | 50 | * Define the HTML code to parse |
| 51 | 51 | * |
| 52 | 52 | * @param string HTML code |
| 53 | + * @param string $html |
|
| 53 | 54 | * @access public |
| 54 | 55 | */ |
| 55 | 56 | public function setHTML($html) |
@@ -1123,7 +1123,7 @@ discard block |
||
| 1123 | 1123 | * @param array $frame |
| 1124 | 1124 | * @param int $maskNo |
| 1125 | 1125 | * @param int $level |
| 1126 | - * @return array mask |
|
| 1126 | + * @return integer mask |
|
| 1127 | 1127 | */ |
| 1128 | 1128 | protected function makeMask($width, $frame, $maskNo, $level) { |
| 1129 | 1129 | $masked = array_fill(0, $width, str_repeat("\0", $width)); |
@@ -1165,7 +1165,7 @@ discard block |
||
| 1165 | 1165 | /** |
| 1166 | 1166 | * evaluateSymbol |
| 1167 | 1167 | * @param int $width |
| 1168 | - * @param array $frame |
|
| 1168 | + * @param integer $frame |
|
| 1169 | 1169 | * @return int demerit |
| 1170 | 1170 | */ |
| 1171 | 1171 | protected function evaluateSymbol($width, $frame) { |
@@ -2035,7 +2035,7 @@ discard block |
||
| 2035 | 2035 | |
| 2036 | 2036 | /** |
| 2037 | 2037 | * convertData |
| 2038 | - * @param array $items |
|
| 2038 | + * @param integer $items |
|
| 2039 | 2039 | * @return array items |
| 2040 | 2040 | */ |
| 2041 | 2041 | protected function convertData($items) { |
@@ -2490,7 +2490,7 @@ discard block |
||
| 2490 | 2490 | |
| 2491 | 2491 | /** |
| 2492 | 2492 | * Return BCH encoded format information pattern. |
| 2493 | - * @param array $mask |
|
| 2493 | + * @param integer $mask |
|
| 2494 | 2494 | * @param int $level error correction level |
| 2495 | 2495 | * @return BCH encoded format information pattern |
| 2496 | 2496 | */ |
@@ -64,6 +64,7 @@ |
||
| 64 | 64 | * Custom query result. |
| 65 | 65 | * |
| 66 | 66 | * @param class_name A string that represents the type of object you want back |
| 67 | + * @param string $class_name |
|
| 67 | 68 | * @return array of objects |
| 68 | 69 | */ |
| 69 | 70 | public function custom_result_object($class_name) |
@@ -164,6 +164,7 @@ |
||
| 164 | 164 | * |
| 165 | 165 | * @access private called by execute() |
| 166 | 166 | * @param string an SQL query |
| 167 | + * @param string $sql |
|
| 167 | 168 | * @return string |
| 168 | 169 | */ |
| 169 | 170 | function _prep_query($sql) |