original_string: protected function getUploadTempDir()
      {
          // Default upload dir
          $sUploadDir = $this->getOption('upload.default.dir');
          $sUploadDir = rtrim(trim($sUploadDir), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
          // Verify that the upload dir exists and is writable
          if(!is_writable($sUploadDir))
          {
              throw new \Jaxon\Exception\Error($this->trans('errors.upload.access'));
          }
          $sUploadDir .= 'tmp' . DIRECTORY_SEPARATOR;
          if(!@mkdir($sUploadDir))
          {
              throw new \Jaxon\Exception\Error($this->trans('errors.upload.access'));
          }
          return $sUploadDir;
      }
code: protected function getUploadTempDir()
      {
          // Default upload dir
          $sUploadDir = $this->getOption('upload.default.dir');
          $sUploadDir = rtrim(trim($sUploadDir), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
          // Verify that the upload dir exists and is writable
          if(!is_writable($sUploadDir))
          {
              throw new \Jaxon\Exception\Error($this->trans('errors.upload.access'));
          }
          $sUploadDir .= 'tmp' . DIRECTORY_SEPARATOR;
          if(!@mkdir($sUploadDir))
          {
              throw new \Jaxon\Exception\Error($this->trans('errors.upload.access'));
          }
          return $sUploadDir;
      }
code_tokens: protected function getUploadTempDir ( ) { // Default upload dir $ sUploadDir = $ this -> getOption ( 'upload.default.dir' ) ; $ sUploadDir = rtrim ( trim ( $ sUploadDir ) , DIRECTORY_SEPARATOR ) . DIRECTORY_SEPARATOR ; // Verify that the upload dir exists and is writable if ( ! is_writable ( $ sUploadDir ) ) { throw new \ Jaxon \ Exception \ Error ( $ this -> trans ( 'errors.upload.access' ) ) ; } $ sUploadDir .= 'tmp' . DIRECTORY_SEPARATOR ; if ( ! @ mkdir ( $ sUploadDir ) ) { throw new \ Jaxon \ Exception \ Error ( $ this -> trans ( 'errors.upload.access' ) ) ; } return $ sUploadDir ; }
docstring: Get the path to the upload temp dir
  
  @return string
docstring_tokens: Get the path to the upload temp dir