@@ -335,12 +335,12 @@ |
||
| 335 | 335 | return false; |
| 336 | 336 | } |
| 337 | 337 | |
| 338 | - /** |
|
| 339 | - * Returns all table names in the database. |
|
| 340 | - * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. |
|
| 341 | - * If not empty, the returned table names will be prefixed with the schema name. |
|
| 342 | - * @return array all table names in the database. |
|
| 343 | - */ |
|
| 338 | + /** |
|
| 339 | + * Returns all table names in the database. |
|
| 340 | + * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema. |
|
| 341 | + * If not empty, the returned table names will be prefixed with the schema name. |
|
| 342 | + * @return array all table names in the database. |
|
| 343 | + */ |
|
| 344 | 344 | public function findTableNames($schema='') |
| 345 | 345 | { |
| 346 | 346 | if($schema==='') |
@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | * @link https://github.com/pradosoft/prado |
| 7 | 7 | * @copyright Copyright © 2005-2016 The PRADO Group |
| 8 | 8 | * @license https://github.com/pradosoft/prado/blob/master/LICENSE |
| 9 | - * @package Prado\Data\ActiveRecord\Scaffold |
|
| 9 | + * @package Prado\Data\ActiveRecord\Scaffold |
|
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | namespace Prado\Data\ActiveRecord\Scaffold; |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * are database dependent). |
| 33 | 33 | * |
| 34 | 34 | * @author Wei Zhuo <weizhuo[at]gmail[dot]com> |
| 35 | - * @package Prado\Data\ActiveRecord\Scaffold |
|
| 35 | + * @package Prado\Data\ActiveRecord\Scaffold |
|
| 36 | 36 | * @since 3.1 |
| 37 | 37 | */ |
| 38 | 38 | class TScaffoldSearch extends TScaffoldBase |
@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | * @link https://github.com/pradosoft/prado |
| 7 | 7 | * @copyright Copyright © 2005-2016 The PRADO Group |
| 8 | 8 | * @license https://github.com/pradosoft/prado/blob/master/LICENSE |
| 9 | - * @package Prado\Data\ActiveRecord\Scaffold |
|
| 9 | + * @package Prado\Data\ActiveRecord\Scaffold |
|
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | namespace Prado\Data\ActiveRecord\Scaffold; |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | * that is called before the save() method is called on the TActiveRecord. |
| 21 | 21 | * |
| 22 | 22 | * @author Wei Zhuo <weizho[at]gmail[dot]com> |
| 23 | - * @package Prado\Data\ActiveRecord\Scaffold |
|
| 23 | + * @package Prado\Data\ActiveRecord\Scaffold |
|
| 24 | 24 | * @since 3.1 |
| 25 | 25 | */ |
| 26 | 26 | interface IScaffoldEditRenderer extends \Prado\IDataRenderer |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * @link https://github.com/pradosoft/prado |
| 6 | 6 | * @copyright Copyright © 2005-2016 The PRADO Group |
| 7 | 7 | * @license https://github.com/pradosoft/prado/blob/master/LICENSE |
| 8 | - * @package Prado\Data\ActiveRecord\Scaffold\InputBuilder |
|
| 8 | + * @package Prado\Data\ActiveRecord\Scaffold\InputBuilder |
|
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | 11 | namespace Prado\Data\ActiveRecord\Scaffold\InputBuilder; |
@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | * @link https://github.com/pradosoft/prado |
| 7 | 7 | * @copyright Copyright © 2005-2016 The PRADO Group |
| 8 | 8 | * @license https://github.com/pradosoft/prado/blob/master/LICENSE |
| 9 | - * @package Prado\Data\ActiveRecord\Scaffold |
|
| 9 | + * @package Prado\Data\ActiveRecord\Scaffold |
|
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | namespace Prado\Data\ActiveRecord\Scaffold; |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * file explicitly. |
| 33 | 33 | * |
| 34 | 34 | * @author Wei Zhuo <weizho[at]gmail[dot]com> |
| 35 | - * @package Prado\Data\ActiveRecord\Scaffold |
|
| 35 | + * @package Prado\Data\ActiveRecord\Scaffold |
|
| 36 | 36 | * @since 3.1 |
| 37 | 37 | */ |
| 38 | 38 | abstract class TScaffoldBase extends TTemplateControl |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | namespace Prado\I18N; |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | - * Get the ChoiceFormat class. |
|
| 16 | - */ |
|
| 15 | + * Get the ChoiceFormat class. |
|
| 16 | + */ |
|
| 17 | 17 | use Prado\I18N\core\ChoiceFormat; |
| 18 | 18 | use Prado\Prado; |
| 19 | 19 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | 65 | * Sets the horizontal alignment of the contents within the table item. |
| 66 | - * Valid values include 'NotSet', 'Justify', 'Left', 'Right', 'Center' |
|
| 66 | + * Valid values include 'NotSet', 'Justify', 'Left', 'Right', 'Center' |
|
| 67 | 67 | * @param string the horizontal alignment |
| 68 | 68 | */ |
| 69 | 69 | public function setHorizontalAlign($value) |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * Sets the vertical alignment of the contents within the table item. |
| 87 | - * Valid values include 'NotSet','Top','Bottom','Middle' |
|
| 87 | + * Valid values include 'NotSet','Top','Bottom','Middle' |
|
| 88 | 88 | * @param string the horizontal alignment |
| 89 | 89 | */ |
| 90 | 90 | public function setVerticalAlign($value) |
@@ -62,9 +62,9 @@ |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | - * Sets the date format for a date validation |
|
| 66 | - * @param string the date format value |
|
| 67 | - */ |
|
| 65 | + * Sets the date format for a date validation |
|
| 66 | + * @param string the date format value |
|
| 67 | + */ |
|
| 68 | 68 | public function setDateFormat($value) |
| 69 | 69 | { |
| 70 | 70 | $this->setViewState('DateFormat', $value, ''); |
@@ -34,9 +34,9 @@ discard block |
||
| 34 | 34 | class TActiveMultiView extends TMultiView implements IActiveControl |
| 35 | 35 | { |
| 36 | 36 | /** |
| 37 | - * Creates a new callback control, sets the adapter to |
|
| 38 | - * TActiveControlAdapter. |
|
| 39 | - */ |
|
| 37 | + * Creates a new callback control, sets the adapter to |
|
| 38 | + * TActiveControlAdapter. |
|
| 39 | + */ |
|
| 40 | 40 | public function __construct() |
| 41 | 41 | { |
| 42 | 42 | parent::__construct(); |
@@ -44,28 +44,28 @@ discard block |
||
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | - * @return TBaseActiveControl standard active control options. |
|
| 48 | - */ |
|
| 47 | + * @return TBaseActiveControl standard active control options. |
|
| 48 | + */ |
|
| 49 | 49 | public function getActiveControl() |
| 50 | 50 | { |
| 51 | 51 | return $this->getAdapter()->getBaseActiveControl(); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * Returns the id of the surrounding container (span). |
|
| 56 | - * @return string container id |
|
| 57 | - */ |
|
| 55 | + * Returns the id of the surrounding container (span). |
|
| 56 | + * @return string container id |
|
| 57 | + */ |
|
| 58 | 58 | protected function getContainerID() |
| 59 | 59 | { |
| 60 | 60 | return $this->ClientID.'_Container'; |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * Renders the TActiveMultiView. |
|
| 65 | - * If the MutliView did not pass the prerender phase yet, it will register itself for rendering later. |
|
| 66 | - * Else it will call the {@link renderMultiView()} method which will do the rendering of the MultiView. |
|
| 67 | - * @param THtmlWriter writer for the rendering purpose |
|
| 68 | - */ |
|
| 64 | + * Renders the TActiveMultiView. |
|
| 65 | + * If the MutliView did not pass the prerender phase yet, it will register itself for rendering later. |
|
| 66 | + * Else it will call the {@link renderMultiView()} method which will do the rendering of the MultiView. |
|
| 67 | + * @param THtmlWriter writer for the rendering purpose |
|
| 68 | + */ |
|
| 69 | 69 | public function render($writer) |
| 70 | 70 | { |
| 71 | 71 | if($this->getHasPreRendered()) { |
@@ -78,10 +78,10 @@ discard block |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | - * Renders the TActiveMultiView by writing a span tag with the container id obtained from {@link getContainerID()} |
|
| 82 | - * which will be called by the replacement method of the client script to update it's content. |
|
| 83 | - * @param $writer THtmlWriter writer for the rendering purpose |
|
| 84 | - */ |
|
| 81 | + * Renders the TActiveMultiView by writing a span tag with the container id obtained from {@link getContainerID()} |
|
| 82 | + * which will be called by the replacement method of the client script to update it's content. |
|
| 83 | + * @param $writer THtmlWriter writer for the rendering purpose |
|
| 84 | + */ |
|
| 85 | 85 | protected function renderMultiView($writer) |
| 86 | 86 | { |
| 87 | 87 | $writer->addAttribute('id', $this->getContainerID()); |
@@ -91,9 +91,9 @@ discard block |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @param integer the zero-based index of the current view in the view collection. -1 if no active view. |
|
| 95 | - * @throws TInvalidDataValueException if the view index is invalid |
|
| 96 | - */ |
|
| 94 | + * @param integer the zero-based index of the current view in the view collection. -1 if no active view. |
|
| 95 | + * @throws TInvalidDataValueException if the view index is invalid |
|
| 96 | + */ |
|
| 97 | 97 | public function setActiveViewIndex($value) |
| 98 | 98 | { |
| 99 | 99 | parent::setActiveViewIndex($value); |
@@ -102,9 +102,9 @@ discard block |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
| 105 | - * @param TView the view to be activated |
|
| 106 | - * @throws TInvalidOperationException if the view is not in the view collection |
|
| 107 | - */ |
|
| 105 | + * @param TView the view to be activated |
|
| 106 | + * @throws TInvalidOperationException if the view is not in the view collection |
|
| 107 | + */ |
|
| 108 | 108 | public function setActiveView($value) |
| 109 | 109 | { |
| 110 | 110 | parent::setActiveView($value); |