@@ -417,12 +417,12 @@ |
||
| 417 | 417 | return false; |
| 418 | 418 | } |
| 419 | 419 | |
| 420 | - /** |
|
| 421 | - * Returns all table names in the database. |
|
| 422 | - * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. |
|
| 423 | - * If not empty, the returned table names will be prefixed with the schema name. |
|
| 424 | - * @return array all table names in the database. |
|
| 425 | - */ |
|
| 420 | + /** |
|
| 421 | + * Returns all table names in the database. |
|
| 422 | + * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. |
|
| 423 | + * If not empty, the returned table names will be prefixed with the schema name. |
|
| 424 | + * @return array all table names in the database. |
|
| 425 | + */ |
|
| 426 | 426 | public function findTableNames($schema='public') |
| 427 | 427 | { |
| 428 | 428 | if($schema==='') |
@@ -124,9 +124,9 @@ |
||
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | /** |
| 127 | - * Sets the date format for a date validation |
|
| 128 | - * @param string the date format value |
|
| 129 | - */ |
|
| 127 | + * Sets the date format for a date validation |
|
| 128 | + * @param string the date format value |
|
| 129 | + */ |
|
| 130 | 130 | public function setDateFormat($value) |
| 131 | 131 | { |
| 132 | 132 | $this->setViewState('DateFormat', $value, ''); |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * Sets the horizontal alignment of the contents within the panel. |
| 104 | - * Valid values include 'NotSet', 'Justify', 'Left', 'Right', 'Center' |
|
| 104 | + * Valid values include 'NotSet', 'Justify', 'Left', 'Right', 'Center' |
|
| 105 | 105 | * @param string the horizontal alignment |
| 106 | 106 | */ |
| 107 | 107 | public function setHorizontalAlign($value) |
@@ -60,8 +60,8 @@ |
||
| 60 | 60 | * @param THtmlWriter the writer used for the rendering purpose |
| 61 | 61 | */ |
| 62 | 62 | protected function addAttributesToRender($writer) { |
| 63 | - $writer->addAttribute('id',$this->getClientID()); |
|
| 64 | - parent::addAttributesToRender($writer); |
|
| 63 | + $writer->addAttribute('id',$this->getClientID()); |
|
| 64 | + parent::addAttributesToRender($writer); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
@@ -18,8 +18,8 @@ |
||
| 18 | 18 | if(!defined('PRADO_DIR')) |
| 19 | 19 | define('PRADO_DIR',dirname(__FILE__)); |
| 20 | 20 | /** |
| 21 | - * Defines the default permission for writable directories and files |
|
| 22 | - */ |
|
| 21 | + * Defines the default permission for writable directories and files |
|
| 22 | + */ |
|
| 23 | 23 | if(!defined('PRADO_CHMOD')) |
| 24 | 24 | define('PRADO_CHMOD',0777); |
| 25 | 25 | |
@@ -68,9 +68,9 @@ discard block |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * Creates a new callback control, sets the adapter to |
|
| 72 | - * TActiveControlAdapter. |
|
| 73 | - */ |
|
| 71 | + * Creates a new callback control, sets the adapter to |
|
| 72 | + * TActiveControlAdapter. |
|
| 73 | + */ |
|
| 74 | 74 | public function __construct() { |
| 75 | 75 | parent::__construct(); |
| 76 | 76 | $this->setAdapter(new TActiveControlAdapter($this)); |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * @param string $value container tag |
| 112 | 112 | */ |
| 113 | 113 | public function setSurroundingTag($value) { |
| 114 | - $this->_surroundingTag=TPropertyValue::ensureString($value); |
|
| 114 | + $this->_surroundingTag=TPropertyValue::ensureString($value); |
|
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | /** |
@@ -404,8 +404,8 @@ discard block |
||
| 404 | 404 | { |
| 405 | 405 | if ($needSpan=$this->getSpanNeeded()) |
| 406 | 406 | { |
| 407 | - $writer->addAttribute('id', $this->getClientId()); |
|
| 408 | - $writer->renderBeginTag('span'); |
|
| 407 | + $writer->addAttribute('id', $this->getClientId()); |
|
| 408 | + $writer->renderBeginTag('span'); |
|
| 409 | 409 | } |
| 410 | 410 | if($this->getItemCount()>0) |
| 411 | 411 | { |
@@ -463,14 +463,14 @@ discard block |
||
| 463 | 463 | */ |
| 464 | 464 | public function getIsValid() |
| 465 | 465 | { |
| 466 | - return $this->_isValid; |
|
| 466 | + return $this->_isValid; |
|
| 467 | 467 | } |
| 468 | 468 | /** |
| 469 | 469 | * @param bool wether this control is valid. |
| 470 | 470 | */ |
| 471 | 471 | public function setIsValid($value) |
| 472 | 472 | { |
| 473 | - $this->_isValid=TPropertyValue::ensureBoolean($value); |
|
| 473 | + $this->_isValid=TPropertyValue::ensureBoolean($value); |
|
| 474 | 474 | } |
| 475 | 475 | |
| 476 | 476 | /** |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * TShellApplication class file |
|
| 4 | - * |
|
| 5 | - * @author Qiang Xue <[email protected]> |
|
| 6 | - * @link https://github.com/pradosoft/prado |
|
| 7 | - * @copyright Copyright © 2005-2016 The PRADO Group |
|
| 8 | - * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
| 9 | - * @package System |
|
| 10 | - */ |
|
| 3 | + * TShellApplication class file |
|
| 4 | + * |
|
| 5 | + * @author Qiang Xue <[email protected]> |
|
| 6 | + * @link https://github.com/pradosoft/prado |
|
| 7 | + * @copyright Copyright © 2005-2016 The PRADO Group |
|
| 8 | + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
| 9 | + * @package System |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * TShellApplication class. |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * TBaseValidator class file |
|
| 4 | - * |
|
| 5 | - * @author Qiang Xue <[email protected]> |
|
| 6 | - * @link https://github.com/pradosoft/prado |
|
| 7 | - * @copyright Copyright © 2005-2016 The PRADO Group |
|
| 8 | - * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
| 9 | - * @package System.Web.UI.WebControls |
|
| 10 | - */ |
|
| 3 | + * TBaseValidator class file |
|
| 4 | + * |
|
| 5 | + * @author Qiang Xue <[email protected]> |
|
| 6 | + * @link https://github.com/pradosoft/prado |
|
| 7 | + * @copyright Copyright © 2005-2016 The PRADO Group |
|
| 8 | + * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT |
|
| 9 | + * @package System.Web.UI.WebControls |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Using TLabel class |