| @@ -92,6 +92,7 @@ discard block | ||
| 92 | 92 | |
| 93 | 93 | /** | 
| 94 | 94 | * Fetch results for current relationship. | 
| 95 | + * @param TActiveRecord $obj | |
| 95 | 96 | * @return boolean always true. | 
| 96 | 97 | */ | 
| 97 | 98 | public function fetchResultsInto($obj) | 
| @@ -104,7 +105,6 @@ discard block | ||
| 104 | 105 | * Returns foreign keys in $fromRecord with source column names as key | 
| 105 | 106 | * and foreign column names in the corresponding $matchesRecord as value. | 
| 106 | 107 | * The method returns the first matching foreign key between these 2 records. | 
| 107 | - * @param TActiveRecord $fromRecord | |
| 108 | 108 | * @param TActiveRecord $matchesRecord | 
| 109 | 109 | * @return array foreign keys with source column names as key and foreign column names as value. | 
| 110 | 110 | */ | 
| @@ -212,6 +212,7 @@ discard block | ||
| 212 | 212 | * @param array source property names | 
| 213 | 213 | * @param array foreign objects | 
| 214 | 214 | * @param array foreign object field names. | 
| 215 | + * @param TActiveRecord[] $fkObjects | |
| 215 | 216 | */ | 
| 216 | 217 | protected function populateResult(&$results,$properties,&$fkObjects,$fields) | 
| 217 | 218 |  	{ | 
| @@ -47,6 +47,9 @@ | ||
| 47 | 47 | return $control; | 
| 48 | 48 | } | 
| 49 | 49 | |
| 50 | + /** | |
| 51 | + * @return string | |
| 52 | + */ | |
| 50 | 53 | protected function getDefaultControlValue($container,$column, $record) | 
| 51 | 54 |  	{ | 
| 52 | 55 | $control = $container->findControl(self::DEFAULT_ID); | 
| @@ -123,6 +123,7 @@ | ||
| 123 | 123 | /** | 
| 124 | 124 | * @param TMssqlTableInfo table information. | 
| 125 | 125 | * @param array column information. | 
| 126 | + * @param TMssqlTableInfo $tableInfo | |
| 126 | 127 | */ | 
| 127 | 128 | protected function processColumn($tableInfo, $col) | 
| 128 | 129 |  	{ | 
| @@ -27,7 +27,7 @@ | ||
| 27 | 27 | |
| 28 | 28 | /** | 
| 29 | 29 | * Overrides parent implementation, returns PHP type from the db type. | 
| 30 | - * @return boolean derived PHP primitive type from the column db type. | |
| 30 | + * @return string derived PHP primitive type from the column db type. | |
| 31 | 31 | */ | 
| 32 | 32 | public function getPHPType() | 
| 33 | 33 |  	{ | 
| @@ -114,6 +114,7 @@ | ||
| 114 | 114 | /** | 
| 115 | 115 | * @param TMysqlTableInfo table information. | 
| 116 | 116 | * @param array column information. | 
| 117 | + * @param TMysqlTableInfo $tableInfo | |
| 117 | 118 | */ | 
| 118 | 119 | protected function processColumn($tableInfo, $col) | 
| 119 | 120 |  	{ | 
| @@ -145,7 +145,7 @@ discard block | ||
| 145 | 145 | /** | 
| 146 | 146 | * @param string table schema name | 
| 147 | 147 | * @param string table name. | 
| 148 | - * @return boolean true if the table is a view. | |
| 148 | + * @return integer true if the table is a view. | |
| 149 | 149 | */ | 
| 150 | 150 | protected function getIsView($schemaName,$tableName) | 
| 151 | 151 |  	{ | 
| @@ -167,6 +167,7 @@ discard block | ||
| 167 | 167 | /** | 
| 168 | 168 | * @param TOracleTableInfo table information. | 
| 169 | 169 | * @param array column information. | 
| 170 | + * @param TOracleTableInfo $tableInfo | |
| 170 | 171 | */ | 
| 171 | 172 | protected function processColumn($tableInfo, $col) | 
| 172 | 173 |  	{ | 
| @@ -322,6 +323,7 @@ discard block | ||
| 322 | 323 | /** | 
| 323 | 324 | * @param string column name. | 
| 324 | 325 | * @param TOracleTableInfo table information. | 
| 326 | + * @param string $columnId | |
| 325 | 327 | * @return boolean true if column is a foreign key. | 
| 326 | 328 | */ | 
| 327 | 329 | protected function isForeignKeyColumn($columnId, $tableInfo) | 
| @@ -204,6 +204,7 @@ | ||
| 204 | 204 | /** | 
| 205 | 205 | * @param TPgsqlTableInfo table information. | 
| 206 | 206 | * @param array column information. | 
| 207 | + * @param TPgsqlTableInfo $tableInfo | |
| 207 | 208 | */ | 
| 208 | 209 | protected function processColumn($tableInfo, $col) | 
| 209 | 210 |  	{ | 
| @@ -127,8 +127,6 @@ discard block | ||
| 127 | 127 | /** | 
| 128 | 128 | * Quotes a table name for use in a query. | 
| 129 | 129 | * @param string $name table name | 
| 130 | - * @param string $lft left delimiter | |
| 131 | - * @param string $rgt right delimiter | |
| 132 | 130 | * @return string the properly quoted table name | 
| 133 | 131 | */ | 
| 134 | 132 | public function quoteTableName($name) | 
| @@ -150,8 +148,6 @@ discard block | ||
| 150 | 148 | /** | 
| 151 | 149 | * Quotes a column name for use in a query. | 
| 152 | 150 | * @param string $name column name | 
| 153 | - * @param string $lft left delimiter | |
| 154 | - * @param string $rgt right delimiter | |
| 155 | 151 | * @return string the properly quoted column name | 
| 156 | 152 | */ | 
| 157 | 153 | public function quoteColumnName($name) | 
| @@ -166,8 +162,6 @@ discard block | ||
| 166 | 162 | /** | 
| 167 | 163 | * Quotes a column alias for use in a query. | 
| 168 | 164 | * @param string $name column alias | 
| 169 | - * @param string $lft left delimiter | |
| 170 | - * @param string $rgt right delimiter | |
| 171 | 165 | * @return string the properly quoted column alias | 
| 172 | 166 | */ | 
| 173 | 167 | public function quoteColumnAlias($name) | 
| @@ -34,6 +34,7 @@ | ||
| 34 | 34 | /** | 
| 35 | 35 | * @param string information array key name | 
| 36 | 36 | * @param mixed default value if information array value is null | 
| 37 | + * @param string $name | |
| 37 | 38 | * @return mixed information array value. | 
| 38 | 39 | */ | 
| 39 | 40 | protected function getInfo($name,$default=null) |