- $cpObj->active = 1; // set the where condition with active = 1
-
- $cgm->joinAdd($cpObj, array('joinType' => 'LEFT', 'useWhereAsOn' => true), "user_id");
- $core_group->joinAdd($cgm, array('joinType' => 'LEFT', 'useWhereAsOn' => true), "id");
- $core_group->find();
- DB_DataObject::debugLevel();
- /*$this->selectAdd("