Exemple #1
0
 public static function getCount()
 {
     $where = ' WHERE product_status = 1';
     return DbFunctions::getEntityCount('product', $where)['COUNT(*)'];
 }