I'm starting (studying) project with zf where I'm not yet using modules.
I have initially the following file ... / projectzend / application / models / Dbtable / Actor.php
<?php
class Application_Model_Actor extends Zend_Db_Table_Abstract
{
protected $_name = 'actor'; // Nome da tabela
protected $_id = 'actor_id'; // campo id da tabela
}
I also have the controller index where it has aactionIndex and I'm trying to instantiate this model from above.
public function indexAction()
{
$actor = new Application_Model_Actor();
}