Changeset 3071
- Timestamp:
- 07/11/2008 10:33:14 AM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/ORM.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/ORM.php
r3070 r3071 449 449 450 450 /** 451 * Creates a key/value array from all of the objects available. Uses find_all 452 * to find the objects. 453 * 454 * @param string key column 455 * @param string value column 456 * @return array 457 */ 458 public function select_list($key, $val) 459 { 460 // Return a select list from the results 461 return $this->select($key, $val)->find_all()->select_list($key, $val); 462 } 463 464 /** 451 465 * Validates the current object. This method should generally be called 452 466 * via the model, after the $_POST Validation object has been created.
