/**
  * UIDが取得できる状態かどうか
  * 取得のためのパラメータが設定されていなかったら、パラメータを付けてリダイレクトする
  *
  * @return null
  */
 private function _canGetUid()
 {
     $context = $this->getContext();
     $req = $context->getRequest();
     if ($req->isMethod('get') && sfJpMobile::isDocomo() && $req->getParameter('guid') == null) {
         $uri = getenv('REQUEST_URI');
         $uri .= strpos($uri, '?') === false ? '?' : '&';
         $context->getController()->getAction($context->getModuleName(), $context->getActionName())->redirect("{$uri}guid=ON");
     }
     apache_note('uid', sfJpMobile::getDevice()->getUid());
 }