original_string: protected function _recursiveMkdirAndChmod($id)
      {
          if ($this->_options['hashed_directory_level'] <=0) {
              return true;
          }
          $partsArray = $this->_path($id, true);
          foreach ($partsArray as $part) {
              if (!is_dir($part)) {
                  @mkdir($part, $this->_options['hashed_directory_umask']);
                  @chmod($part, $this->_options['hashed_directory_umask']); // see #ZF-320 (this line is required in some configurations)
              }
          }
          return true;
      }
code: protected function _recursiveMkdirAndChmod($id)
      {
          if ($this->_options['hashed_directory_level'] <=0) {
              return true;
          }
          $partsArray = $this->_path($id, true);
          foreach ($partsArray as $part) {
              if (!is_dir($part)) {
                  @mkdir($part, $this->_options['hashed_directory_umask']);
                  @chmod($part, $this->_options['hashed_directory_umask']); // see #ZF-320 (this line is required in some configurations)
              }
          }
          return true;
      }
code_tokens: protected function _recursiveMkdirAndChmod ( $ id ) { if ( $ this -> _options [ 'hashed_directory_level' ] <= 0 ) { return true ; } $ partsArray = $ this -> _path ( $ id , true ) ; foreach ( $ partsArray as $ part ) { if ( ! is_dir ( $ part ) ) { @ mkdir ( $ part , $ this -> _options [ 'hashed_directory_umask' ] ) ; @ chmod ( $ part , $ this -> _options [ 'hashed_directory_umask' ] ) ; // see #ZF-320 (this line is required in some configurations) } } return true ; }
docstring: Make the directory strucuture for the given id
  
  @param string $id cache id
  @return boolean true
docstring_tokens: Make the directory strucuture for the given id