Exemple #1
0
 /**
  * return the total number of applications installed
  *
  * @param $_filter
  * 
  * @return int
  */
 public function getTotalApplicationCount($_filter = NULL)
 {
     $where = array();
     if ($_filter !== NULL) {
         $where[] = $this->_db->quoteInto($this->_db->quoteIdentifier('name') . ' LIKE ?', '%' . $_filter . '%');
     }
     $count = $this->_applicationTable->getTotalCount($where);
     return $count;
 }