Ejemplo n.º 1
0
 public static function getMergedParameters($firstTableParams = array(), $secondTableParams = array(), $count = -1, $offset = 0, $order = null, $sort = "ASC", $filters = array(), $filterType = "OR", $relationTableParams = array())
 {
     if (is_null(static::$resourceType)) {
         throw new \Exception("Bad resource type.");
     }
     $filters = array_merge($filters, array('resource_type' => static::$resourceType));
     return parent::getMergedParameters($firstTableParams, $secondTableParams, $count, $offset, $order, $sort, $filters, 'AND', $relationTableParams);
 }
Ejemplo n.º 2
0
 /**
  * 
  * @param type $firstTableParams
  * @param type $secondTableParams
  * @param type $count
  * @param type $offset
  * @param type $order
  * @param type $sort
  * @param type $filters
  * @param type $filterType
  * @param type $relationTableParams
  * @return type
  */
 public static function getMergedParameters($firstTableParams = array(), $secondTableParams = array(), $count = -1, $offset = 0, $order = null, $sort = "ASC", $filters = array(), $filterType = "OR", $relationTableParams = array())
 {
     $filters['service_register'] = '0';
     return parent::getMergedParameters($firstTableParams, $secondTableParams, $count, $offset, $order, $sort, $filters, $filterType, $relationTableParams);
 }