/**
  * 获取签到信息
  * @param null $user_id
  */
 public function getClockInInfoAction($user_id = null)
 {
     $user = User::getCurrentUser();
     $clock_in = ClockIn::getClockIn($user['user_id']);
     $this->view->setVars(array('row' => $clock_in));
 }
 /**
  * 解释用户属性.签到次数任务目标
  * @param $cur_value
  * @param $obj_value
  * @param $comparision
  * @return bool
  */
 protected function interpreterUserpropSigntimesObjective($cur_value, $obj_value, $comparision)
 {
     $user = $this->session->get('user');
     $clock_in = ClockIn::getClockIn($user['user_id']);
     $sign_times = $clock_in['times'];
     return $comparision == $this->_compare($sign_times, $obj_value);
 }