@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | nspname = :schema)) |
138 | 138 | AND a.attnum > 0 AND NOT a.attisdropped |
139 | 139 | ORDER BY a.attnum |
140 | -EOD; |
|
140 | +eod; |
|
141 | 141 | $this->getDbConnection()->setActive(true); |
142 | 142 | $command = $this->getDbConnection()->createCommand($sql); |
143 | 143 | $command->bindValue(':table', $tableName); |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | SELECT count(c.relname) FROM pg_catalog.pg_class c |
198 | 198 | LEFT JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace) |
199 | 199 | WHERE (n.nspname=:schema) AND (c.relkind = 'v'::"char") AND c.relname = :table |
200 | -EOD; |
|
200 | +eod; |
|
201 | 201 | $this->getDbConnection()->setActive(true); |
202 | 202 | $command = $this->getDbConnection()->createCommand($sql); |
203 | 203 | $command->bindValue(':schema', $schemaName); |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | WHERE nspname=:schema)) |
333 | 333 | ORDER BY |
334 | 334 | 1 |
335 | -EOD; |
|
335 | +eod; |
|
336 | 336 | $this->getDbConnection()->setActive(true); |
337 | 337 | $command = $this->getDbConnection()->createCommand($sql); |
338 | 338 | $command->bindValue(':table', $tableName); |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | ) |
373 | 373 | ) |
374 | 374 | AND attnum IN ({$index}) |
375 | -EOD; |
|
375 | +eod; |
|
376 | 376 | $command = $this->getDbConnection()->createCommand($sql); |
377 | 377 | $command->bindValue(':table', $tableName); |
378 | 378 | $command->bindValue(':schema', $schemaName); |
@@ -434,7 +434,7 @@ discard block |
||
434 | 434 | $sql = <<<EOD |
435 | 435 | SELECT table_name, table_schema FROM information_schema.tables |
436 | 436 | WHERE table_schema=:schema AND table_type='BASE TABLE' |
437 | -EOD; |
|
437 | +eod; |
|
438 | 438 | $command = $this->getDbConnection()->createCommand($sql); |
439 | 439 | $command->bindParam(':schema', $schema); |
440 | 440 | $rows = $command->queryAll(); |
@@ -70,7 +70,7 @@ |
||
70 | 70 | $fname = ucwords(str_replace('_', ' ', $name)); |
71 | 71 | $sorts[$name . ' ASC'] = $fname . ' Ascending'; |
72 | 72 | $sorts[$name . ' DESC'] = $fname . ' Descending'; |
73 | - $headers[] = $fname ; |
|
73 | + $headers[] = $fname; |
|
74 | 74 | } |
75 | 75 | $this->_sort->setDataSource($sorts); |
76 | 76 | $this->_sort->dataBind(); |
@@ -56,7 +56,7 @@ |
||
56 | 56 | * @var TActiveRecordInvalidFinderResult |
57 | 57 | * @since 3.1.5 |
58 | 58 | */ |
59 | - private $_invalidFinderResult = TActiveRecordInvalidFinderResult::Null; |
|
59 | + private $_invalidFinderResult = TActiveRecordInvalidFinderResult::null; |
|
60 | 60 | |
61 | 61 | /** |
62 | 62 | * @return ICache application cache. |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * @var TActiveRecordInvalidFinderResult |
103 | 103 | * @since 3.1.5 |
104 | 104 | */ |
105 | - private $_invalidFinderResult = TActiveRecordInvalidFinderResult::Null; |
|
105 | + private $_invalidFinderResult = TActiveRecordInvalidFinderResult::null; |
|
106 | 106 | |
107 | 107 | /** |
108 | 108 | * Initialize the active record manager. |
@@ -328,7 +328,7 @@ |
||
328 | 328 | { |
329 | 329 | $req = $this->recaptcha_qsencode($data); |
330 | 330 | |
331 | - $http_request = "POST $path HTTP/1.0\r\n"; |
|
331 | + $http_request = "post $path HTTP/1.0\r\n"; |
|
332 | 332 | $http_request .= "Host: $host\r\n"; |
333 | 333 | $http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n"; |
334 | 334 | $http_request .= "Content-Length: " . strlen($req) . "\r\n"; |
@@ -181,8 +181,7 @@ |
||
181 | 181 | |
182 | 182 | public function validate() |
183 | 183 | { |
184 | - if (! |
|
185 | - ( |
|
184 | + if (!( |
|
186 | 185 | ($challenge = @$_POST[$this->getChallengeFieldName()]) |
187 | 186 | and |
188 | 187 | ($response = @$_POST[$this->getResponseFieldName()]) |
@@ -523,7 +523,7 @@ |
||
523 | 523 | </body> |
524 | 524 | </file> |
525 | 525 | </xliff> |
526 | -EOD; |
|
526 | +eod; |
|
527 | 527 | return $xml; |
528 | 528 | } |
529 | 529 | } |
@@ -418,7 +418,7 @@ |
||
418 | 418 | 'trans-unit' => array( |
419 | 419 | ) |
420 | 420 | ); |
421 | -EOD; |
|
421 | +eod; |
|
422 | 422 | return $php; |
423 | 423 | } |
424 | 424 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | { |
35 | 35 | console.log ("[Cumulated Time] [Time] [Level] [Category] [Message]"); |
36 | 36 | |
37 | -EOD; |
|
37 | +eod; |
|
38 | 38 | |
39 | 39 | return $string; |
40 | 40 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | } |
61 | 61 | </script> |
62 | 62 | |
63 | -EOD; |
|
63 | +eod; |
|
64 | 64 | |
65 | 65 | return $string; |
66 | 66 | } |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | {$this->action} {$parameters}{$optional} |
187 | 187 | {$description} |
188 | 188 | |
189 | -EOD; |
|
189 | +eod; |
|
190 | 190 | } |
191 | 191 | |
192 | 192 | protected function initializePradoApplication($directory) |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | </parameters> |
345 | 345 | --> |
346 | 346 | </application> |
347 | -EOD; |
|
347 | +eod; |
|
348 | 348 | } |
349 | 349 | |
350 | 350 | protected function renderHtaccessFile() |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | <h1>Welcome to PRADO!</h1> |
365 | 365 | </body> |
366 | 366 | </html> |
367 | -EOD; |
|
367 | +eod; |
|
368 | 368 | } |
369 | 369 | } |
370 | 370 | |
@@ -585,7 +585,7 @@ discard block |
||
585 | 585 | * @soapproperty |
586 | 586 | */ |
587 | 587 | |
588 | -EOD; |
|
588 | +eod; |
|
589 | 589 | } |
590 | 590 | $prop .= "\tpublic $name;"; |
591 | 591 | return $prop; |
@@ -612,7 +612,7 @@ discard block |
||
612 | 612 | } |
613 | 613 | } |
614 | 614 | |
615 | -EOD; |
|
615 | +eod; |
|
616 | 616 | } |
617 | 617 | } |
618 | 618 |