2009年12月18日星期五

[fw-db] model autoloader

Hi,

I think I am being a bit thick, but I have read and googled and I am still
stuck.

I can't access my model classes with short names, I need to use:

$test = new Default_Model_DbTable_Test();
$select = $test->select()->where('id=?', (int)$id);
$t = $test->fetchRow($select);

$select = $test->select()->order('order ASC');
$this->view->sections =
$t->findDependentRowset('Default_Model_DbTable_Children', 'Test', $select);

How can I use short model class names?

Thanks,

monk.e.boy
--
View this message in context: http://n4.nabble.com/model-autoloader-tp975174p975174.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: