@@ -138,6 +138,9 @@ |
||
138 | 138 | } |
139 | 139 | } |
140 | 140 | |
141 | + /** |
|
142 | + * @param string $is_existing |
|
143 | + */ |
|
141 | 144 | public function updateConversionRate($conversion_rate, $is_existing, $currency_id, $user_id) |
142 | 145 | { |
143 | 146 | $pdo = $this->deeb->cnxx; |
@@ -148,6 +148,9 @@ |
||
148 | 148 | return $expiry_pieces[0] + $renewal_years . "-" . $expiry_pieces[1] . "-" . $expiry_pieces[2]; |
149 | 149 | } |
150 | 150 | |
151 | + /** |
|
152 | + * @param string $new_expiry |
|
153 | + */ |
|
151 | 154 | public function writeNewExpiry($domain, $new_expiry, $notes) |
152 | 155 | { |
153 | 156 | $pdo = $this->deeb->cnxx; |
@@ -100,6 +100,9 @@ discard block |
||
100 | 100 | $pdo->query("DROP TABLE IF EXISTS dw_dns_records"); |
101 | 101 | } |
102 | 102 | |
103 | + /** |
|
104 | + * @param string $build_start_time_o |
|
105 | + */ |
|
103 | 106 | public function buildFinish($build_start_time_o) |
104 | 107 | { |
105 | 108 | $pdo = $this->deeb->cnxx; |
@@ -142,6 +145,9 @@ discard block |
||
142 | 145 | return $empty_assets; |
143 | 146 | } |
144 | 147 | |
148 | + /** |
|
149 | + * @param string $empty_assets |
|
150 | + */ |
|
145 | 151 | public function updateEmpty($empty_assets) |
146 | 152 | { |
147 | 153 | if ($empty_assets == '1') { |
@@ -71,6 +71,10 @@ |
||
71 | 71 | WHERE r.dns_zone_id = z.id"); |
72 | 72 | } |
73 | 73 | |
74 | + /** |
|
75 | + * @param string $field |
|
76 | + * @param integer $wrap_at |
|
77 | + */ |
|
74 | 78 | public function wrapLine($field, $wrap_at) |
75 | 79 | { |
76 | 80 | $pdo = $this->deeb->cnxx; |
@@ -78,6 +78,9 @@ |
||
78 | 78 | } |
79 | 79 | } |
80 | 80 | |
81 | + /** |
|
82 | + * @param string $build_start_time |
|
83 | + */ |
|
81 | 84 | public function serverFinish($server_id, $build_start_time) |
82 | 85 | { |
83 | 86 | $pdo = $this->deeb->cnxx; |
@@ -44,6 +44,9 @@ |
||
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @param string $table |
|
49 | + */ |
|
47 | 50 | public function getTotals($server_id, $table) |
48 | 51 | { |
49 | 52 | $pdo = $this->deeb->cnxx; |
@@ -28,6 +28,9 @@ discard block |
||
28 | 28 | public $url; |
29 | 29 | public $user_id; |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $area |
|
33 | + */ |
|
31 | 34 | public function __construct($area) |
32 | 35 | { |
33 | 36 | $this->area = $area; |
@@ -41,6 +44,9 @@ discard block |
||
41 | 44 | } |
42 | 45 | } |
43 | 46 | |
47 | + /** |
|
48 | + * @param string $level |
|
49 | + */ |
|
44 | 50 | public function addEntry($level, $message, $extra_info) |
45 | 51 | { |
46 | 52 | $deeb = Database::getInstance(); |
@@ -111,6 +117,10 @@ discard block |
||
111 | 117 | * ERROR |
112 | 118 | * Runtime errors that do not require immediate action but should typically be logged and monitored. |
113 | 119 | */ |
120 | + |
|
121 | + /** |
|
122 | + * @param string $message |
|
123 | + */ |
|
114 | 124 | public function error($message, $extra_info = array()) |
115 | 125 | { |
116 | 126 | if (DEBUG_MODE != 1) return; |
@@ -143,6 +153,10 @@ discard block |
||
143 | 153 | * Interesting events. |
144 | 154 | * Example: User logs in, SQL logs. |
145 | 155 | */ |
156 | + |
|
157 | + /** |
|
158 | + * @param string $message |
|
159 | + */ |
|
146 | 160 | public function info($message, $extra_info = array()) |
147 | 161 | { |
148 | 162 | if (DEBUG_MODE != 1) return; |
@@ -384,6 +384,10 @@ |
||
384 | 384 | } |
385 | 385 | } |
386 | 386 | |
387 | + /** |
|
388 | + * @param string $fee_table |
|
389 | + * @param string $compare_table |
|
390 | + */ |
|
387 | 391 | public function deleteUnusedFees($fee_table, $compare_table) |
388 | 392 | { |
389 | 393 | $this->deeb->cnxx->query(" |
@@ -396,7 +396,7 @@ |
||
396 | 396 | |
397 | 397 | public function zeroInvalidIpIds() |
398 | 398 | { // This zeroes out API IP address IDs in the registrar_account table that are no longer valid. For example, if an |
399 | - // IP has been deleted. |
|
399 | + // IP has been deleted. |
|
400 | 400 | $pdo = $this->deeb->cnxx; |
401 | 401 | |
402 | 402 | $result = $pdo->query(" |
@@ -395,7 +395,8 @@ |
||
395 | 395 | } |
396 | 396 | |
397 | 397 | public function zeroInvalidIpIds() |
398 | - { // This zeroes out API IP address IDs in the registrar_account table that are no longer valid. For example, if an |
|
398 | + { |
|
399 | +// This zeroes out API IP address IDs in the registrar_account table that are no longer valid. For example, if an |
|
399 | 400 | // IP has been deleted. |
400 | 401 | $pdo = $this->deeb->cnxx; |
401 | 402 |
@@ -32,6 +32,12 @@ |
||
32 | 32 | $this->log = new Log('class.smtp'); |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $to_name |
|
37 | + * @param string $subject |
|
38 | + * @param string $message_html |
|
39 | + * @param string $message_text |
|
40 | + */ |
|
35 | 41 | public function send($reply_address, $to_address, $to_name, $subject, $message_html, $message_text) |
36 | 42 | { |
37 | 43 | require_once DIR_ROOT . '/vendor/autoload.php'; |