. if (!defined('EG')) die('Direct access not allowed!'); class VendorsModel extends Model_Tree { public function __construct() { $this->_tables = 'vendors'; $this->_idFields = 'id_vendor'; parent::__construct(); } }