@@ -55,6 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * @param string a unique identifier for the <parameterMap>. |
| 58 | + * @param string $value |
|
| 58 | 59 | */ |
| 59 | 60 | public function setID($value) |
| 60 | 61 | { |
@@ -62,7 +63,7 @@ discard block |
||
| 62 | 63 | } |
| 63 | 64 | |
| 64 | 65 | /** |
| 65 | - * @return TParameterProperty[] list of properties for the parameter map. |
|
| 66 | + * @return TList list of properties for the parameter map. |
|
| 66 | 67 | */ |
| 67 | 68 | public function getProperties() |
| 68 | 69 | { |
@@ -112,6 +113,7 @@ discard block |
||
| 112 | 113 | /** |
| 113 | 114 | * @param int parameter property index |
| 114 | 115 | * @param TParameterProperty new parameter property. |
| 116 | + * @param integer $index |
|
| 115 | 117 | */ |
| 116 | 118 | public function insertProperty($index, TParameterProperty $property) |
| 117 | 119 | { |
@@ -103,6 +103,7 @@ discard block |
||
| 103 | 103 | /** |
| 104 | 104 | * @param string name of the column in the result set from which the value |
| 105 | 105 | * will be used to populate the property. |
| 106 | + * @param string $value |
|
| 106 | 107 | */ |
| 107 | 108 | public function setColumn($value) |
| 108 | 109 | { |
@@ -121,6 +122,7 @@ discard block |
||
| 121 | 122 | /** |
| 122 | 123 | * @param int index of the column in the ResultSet from which the value will |
| 123 | 124 | * be used to populate the object property |
| 125 | + * @param integer $value |
|
| 124 | 126 | */ |
| 125 | 127 | public function setColumnIndex($value) |
| 126 | 128 | { |
@@ -185,6 +187,7 @@ discard block |
||
| 185 | 187 | |
| 186 | 188 | /** |
| 187 | 189 | * @param string custom type handler class name (may use namespace). |
| 190 | + * @param string $value |
|
| 188 | 191 | */ |
| 189 | 192 | public function setTypeHandler($value) |
| 190 | 193 | { |
@@ -268,6 +268,7 @@ |
||
| 268 | 268 | * @param TSqlMapTypeHandlerRegistry type handler registry |
| 269 | 269 | * @param string result class name. |
| 270 | 270 | * @param array result data. |
| 271 | + * @param string $type |
|
| 271 | 272 | * @return mixed result object. |
| 272 | 273 | */ |
| 273 | 274 | protected function createInstanceOf($registry,$type,$row=null) |
@@ -40,6 +40,7 @@ discard block |
||
| 40 | 40 | * @param int page size |
| 41 | 41 | * @param mixed delegate for each data row retrieved. |
| 42 | 42 | * @param int number of page to fetch on initialization |
| 43 | + * @param integer $pageSize |
|
| 43 | 44 | */ |
| 44 | 45 | public function __construct(IMappedStatement $statement,$parameter, $pageSize, $delegate=null, $page=0) |
| 45 | 46 | { |
@@ -55,6 +56,8 @@ discard block |
||
| 55 | 56 | * @param mixed query parameters |
| 56 | 57 | * @param int page size. |
| 57 | 58 | * @param int number of page. |
| 59 | + * @param IMappedStatement $statement |
|
| 60 | + * @param integer $page |
|
| 58 | 61 | */ |
| 59 | 62 | protected function initialize($statement, $parameter, $pageSize, $page) |
| 60 | 63 | { |
@@ -97,6 +97,10 @@ |
||
| 97 | 97 | return $cacheKey->getHash(); |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | + /** |
|
| 101 | + * @param integer $skip |
|
| 102 | + * @param integer $max |
|
| 103 | + */ |
|
| 100 | 104 | protected function createCommand($connection, $parameter, $skip=null, $max=null) |
| 101 | 105 | { |
| 102 | 106 | return $this->_mappedStatement->getCommand()->create($this->getManager(), |
@@ -77,6 +77,7 @@ |
||
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * Saves the current SqlMap manager to cache. |
| 80 | + * @param TSqlMapManager $manager |
|
| 80 | 81 | * @return boolean true if SqlMap manager was cached, false otherwise. |
| 81 | 82 | */ |
| 82 | 83 | protected function cacheSqlMapManager($manager) |
@@ -149,6 +149,7 @@ |
||
| 149 | 149 | /** |
| 150 | 150 | * Finds the database connection instance from the Application modules. |
| 151 | 151 | * @param string Database connection module ID. |
| 152 | + * @param string $id |
|
| 152 | 153 | * @return TDbConnection database connection. |
| 153 | 154 | * @throws TConfigurationException when module is not of TDbConnection or TDataSourceConfig. |
| 154 | 155 | */ |
@@ -157,6 +157,7 @@ discard block |
||
| 157 | 157 | /** |
| 158 | 158 | * Open or close the DB connection. |
| 159 | 159 | * @param boolean whether to open or close DB connection |
| 160 | + * @param boolean $value |
|
| 160 | 161 | * @throws TDbException if connection fails |
| 161 | 162 | */ |
| 162 | 163 | public function setActive($value) |
@@ -241,6 +242,7 @@ discard block |
||
| 241 | 242 | |
| 242 | 243 | /** |
| 243 | 244 | * @param string The Data Source Name, or DSN, contains the information required to connect to the database. |
| 245 | + * @param string $value |
|
| 244 | 246 | * @see http://www.php.net/manual/en/function.PDO-construct.php |
| 245 | 247 | */ |
| 246 | 248 | public function setConnectionString($value) |
@@ -258,6 +260,7 @@ discard block |
||
| 258 | 260 | |
| 259 | 261 | /** |
| 260 | 262 | * @param string the username for establishing DB connection |
| 263 | + * @param string $value |
|
| 261 | 264 | */ |
| 262 | 265 | public function setUsername($value) |
| 263 | 266 | { |
@@ -274,6 +277,7 @@ discard block |
||
| 274 | 277 | |
| 275 | 278 | /** |
| 276 | 279 | * @param string the password for establishing DB connection |
| 280 | + * @param string $value |
|
| 277 | 281 | */ |
| 278 | 282 | public function setPassword($value) |
| 279 | 283 | { |
@@ -101,6 +101,7 @@ |
||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * @param boolean whether this transaction is active |
| 104 | + * @param boolean $value |
|
| 104 | 105 | */ |
| 105 | 106 | protected function setActive($value) |
| 106 | 107 | { |