- $cpObj->active = 1; // set the where condition with active = 1
-
- $core_group->joinAdd($cgmDBObj, array('joinType' => 'LEFT', 'useWhereAsOn' => false));
- $core_group->joinAdd($cpObj, array('joinType' => 'LEFT', 'useWhereAsOn' => true));
- $core_group->find();
- /*$this->selectAdd("