all(); if ($ret){ $return[$ret['uid']] = $ret['uid']; } return $return ; } public function user(){ $this->hasOne('Users','uid','id'); } }