<?php
class FAQType extends Zend_Db_Table
{
protected $_name = 'faq_type';
protected $_primary = 'ID';
public function getTypes() {
return $this->select()->where('isACTIVE', 1)->order('NOM ASC')->query()->fetchAll();
}
public function getTypesAll() {
return $this->select()->order('NOM ASC')->query()->fetchAll();
}
}
?>