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