示例#1
0
 public function _filterOrExclude($conditions = null)
 {
     $instance = $this->_clone();
     //        $roles = $qb->select("*")
     //            ->from('testing_user')
     //            ->where("username ="******"df"))
     //            ->execute()
     //            ->fetchAll();
     Lookup::filters($instance->qb, $conditions);
     return $instance;
 }
示例#2
0
 /**
  * @dataProvider providerLookupCombine
  *
  * @param $value
  * @param $expected
  *
  * @since 1.1.0
  *
  * @author Eddilbert Macharia (http://eddmash.com) <*****@*****.**>
  */
 public function testLookupCombine($value, $expected)
 {
     $this->assertEquals($expected, Lookup::combine($value));
 }