select queries with Zend_DB_Table
问题 I have a code something like following class Application_Model_Company extends Zend_Db_Table_Abstract { protected $_name = 'companies'; private $id; private $name; private $shortName; private $description; public static function getAllCompanies() { $companyObj = new self(); $select = $companyObj->select()->order(array('name')); $rows = $companyObj->fetchAll($select); if($rows) { $companies = array(); foreach($rows as $row) { $company = new self(); $company->id = $row->id; $company->name =