@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | TABLE_NAME = '{$tableName}' |
| 97 | 97 | AND OWNER = '{$schemaName}' |
| 98 | 98 | ORDER BY a.COLUMN_ID |
| 99 | -EOD; |
|
| 99 | +eod; |
|
| 100 | 100 | $this->getDbConnection()->setActive(true); |
| 101 | 101 | $this->getDbConnection()->setAttribute(PDO::ATTR_CASE, PDO::CASE_LOWER); |
| 102 | 102 | $command = $this->getDbConnection()->createCommand($sql); |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | from ALL_OBJECTS |
| 161 | 161 | where OBJECT_NAME = '{$tableName}' |
| 162 | 162 | and OWNER = '{$schemaName}' |
| 163 | -EOD; |
|
| 163 | +eod; |
|
| 164 | 164 | $this->getDbConnection()->setActive(true); |
| 165 | 165 | $command = $this->getDbConnection()->createCommand($sql); |
| 166 | 166 | //$command->bindValue(':schema',$schemaName); |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | and a.TABLE_NAME = '{$tableName}' |
| 273 | 273 | and a.OWNER = '{$schemaName}' |
| 274 | 274 | and a.CONSTRAINT_TYPE in ('P','R') |
| 275 | -EOD; |
|
| 275 | +eod; |
|
| 276 | 276 | $this->getDbConnection()->setActive(true); |
| 277 | 277 | $command = $this->getDbConnection()->createCommand($sql); |
| 278 | 278 | //$command->bindValue(':table', $tableName); |
@@ -363,13 +363,13 @@ discard block |
||
| 363 | 363 | if ($schema === '') { |
| 364 | 364 | $sql = <<<EOD |
| 365 | 365 | SELECT table_name, '{$schema}' as table_schema FROM user_tables |
| 366 | -EOD; |
|
| 366 | +eod; |
|
| 367 | 367 | $command = $this->getDbConnection()->createCommand($sql); |
| 368 | 368 | } else { |
| 369 | 369 | $sql = <<<EOD |
| 370 | 370 | SELECT object_name as table_name, owner as table_schema FROM all_objects |
| 371 | 371 | WHERE object_type = 'TABLE' AND owner=:schema |
| 372 | -EOD; |
|
| 372 | +eod; |
|
| 373 | 373 | $command = $this->getDbConnection()->createCommand($sql); |
| 374 | 374 | $command->bindParameter(':schema', $schema); |
| 375 | 375 | } |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | console.log ("[Tot Time] [Time ] [Level] [Category] [Message]"); |
| 85 | 85 | |
| 86 | -EOD; |
|
| 86 | +eod; |
|
| 87 | 87 | } |
| 88 | 88 | return ''; |
| 89 | 89 | } |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | } |
| 123 | 123 | </script> |
| 124 | 124 | |
| 125 | -EOD; |
|
| 125 | +eod; |
|
| 126 | 126 | |
| 127 | 127 | return $string; |
| 128 | 128 | } |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | */ |
| 258 | 258 | public function getScriptUrls() |
| 259 | 259 | { |
| 260 | - $scripts = array_values(array_map(function ($v) { |
|
| 260 | + $scripts = array_values(array_map(function($v) { |
|
| 261 | 261 | return $v->getUrl(); |
| 262 | 262 | }, $this->_headScriptFiles)); |
| 263 | 263 | $scripts = array_merge($scripts, array_values($this->_scriptFiles)); |
@@ -550,7 +550,7 @@ discard block |
||
| 550 | 550 | public function getStyleSheetUrls() |
| 551 | 551 | { |
| 552 | 552 | $stylesheets = array_values( |
| 553 | - array_map(function ($e) { |
|
| 553 | + array_map(function($e) { |
|
| 554 | 554 | return is_array($e) ? $e[0] : $e; |
| 555 | 555 | }, $this->_styleSheetFiles) |
| 556 | 556 | ); |
@@ -28,6 +28,6 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | class TActiveRecordInvalidFinderResult extends \Prado\TEnumerable |
| 30 | 30 | { |
| 31 | - public const Null = 'Null'; |
|
| 31 | + public const null = 'Null'; |
|
| 32 | 32 | public const Exception = 'Exception'; |
| 33 | 33 | } |
@@ -113,17 +113,17 @@ discard block |
||
| 113 | 113 | * Indexes for the rare fields. |
| 114 | 114 | * In order to save memory, rare fields will only be created if they are needed. |
| 115 | 115 | */ |
| 116 | - public const RF_CONTROLS = 0; // child controls |
|
| 117 | - public const RF_CHILD_STATE = 1; // child state field |
|
| 118 | - public const RF_NAMED_CONTROLS = 2; // list of controls whose namingcontainer is this control |
|
| 119 | - public const RF_NAMED_CONTROLS_ID = 3; // counter for automatic id |
|
| 120 | - public const RF_SKIN_ID = 4; // skin ID |
|
| 121 | - public const RF_DATA_BINDINGS = 5; // data bindings |
|
| 122 | - public const RF_EVENTS = 6; // event handlers |
|
| 123 | - public const RF_CONTROLSTATE = 7; // controlstate |
|
| 124 | - public const RF_NAMED_OBJECTS = 8; // controls declared with ID on template |
|
| 125 | - public const RF_ADAPTER = 9; // adapter |
|
| 126 | - public const RF_AUTO_BINDINGS = 10; // auto data bindings |
|
| 116 | + public const RF_CONTROLS = 0; // child controls |
|
| 117 | + public const RF_CHILD_STATE = 1; // child state field |
|
| 118 | + public const RF_NAMED_CONTROLS = 2; // list of controls whose namingcontainer is this control |
|
| 119 | + public const RF_NAMED_CONTROLS_ID = 3; // counter for automatic id |
|
| 120 | + public const RF_SKIN_ID = 4; // skin ID |
|
| 121 | + public const RF_DATA_BINDINGS = 5; // data bindings |
|
| 122 | + public const RF_EVENTS = 6; // event handlers |
|
| 123 | + public const RF_CONTROLSTATE = 7; // controlstate |
|
| 124 | + public const RF_NAMED_OBJECTS = 8; // controls declared with ID on template |
|
| 125 | + public const RF_ADAPTER = 9; // adapter |
|
| 126 | + public const RF_AUTO_BINDINGS = 10; // auto data bindings |
|
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | 129 | * @var string control ID |
@@ -413,7 +413,7 @@ discard block |
||
| 413 | 413 | public function getUniqueID() |
| 414 | 414 | { |
| 415 | 415 | if ($this->_uid === '' || $this->_uid === null) { // need to build the UniqueID |
| 416 | - $this->_uid = ''; // set to not-null, so that clearCachedUniqueID() may take action |
|
| 416 | + $this->_uid = ''; // set to not-null, so that clearCachedUniqueID() may take action |
|
| 417 | 417 | if ($namingContainer = $this->getNamingContainer()) { |
| 418 | 418 | if ($this->getPage() === $namingContainer) { |
| 419 | 419 | return ($this->_uid = $this->_id); |