Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
データベースから値を取得するために find() を使用していますが、オブジェクトを含む配列を返します。
よろしくお願いします。
まあ、それはとても簡単でした。疑問がある人のために、解決策は次のとおりです。
Zend_Loader::loadClass('News');
$db = new News(); $row = $db->find($id)->current();
それだけです、ありがとう。