Esempio n. 1
0
File: tax.php Progetto: sanily2j/abc
 public function getTaxes()
 {
     if (!empty(self::$Tax) && is_array(self::$Tax) && count(self::$Tax) > 0) {
         return self::$Tax;
     } else {
         self::$Tax = $this->find('all', array('fields' => array('tax_name', 'tax_percentage')));
         return self::$Tax;
     }
 }