original_string: function save() {
  		$fw=Base::instance();
  		if ($this->flag) {
  			if (!is_dir($dir=$fw->get('TEMP')))
  				mkdir($dir,Base::MODE,TRUE);
  			$this->count++;
  			$fw->write($dir.'/'.
  				$fw->hash($fw->get('ROOT').$fw->get('BASE')).'.'.
  				$fw->hash($this->file).'-'.$this->count.'.png',
  				$this->dump());
  		}
  		return $this;
  	}
code: function save() {
  		$fw=Base::instance();
  		if ($this->flag) {
  			if (!is_dir($dir=$fw->get('TEMP')))
  				mkdir($dir,Base::MODE,TRUE);
  			$this->count++;
  			$fw->write($dir.'/'.
  				$fw->hash($fw->get('ROOT').$fw->get('BASE')).'.'.
  				$fw->hash($this->file).'-'.$this->count.'.png',
  				$this->dump());
  		}
  		return $this;
  	}
code_tokens: function save ( ) { $ fw = Base :: instance ( ) ; if ( $ this -> flag ) { if ( ! is_dir ( $ dir = $ fw -> get ( 'TEMP' ) ) ) mkdir ( $ dir , Base :: MODE , TRUE ) ; $ this -> count ++ ; $ fw -> write ( $ dir . '/' . $ fw -> hash ( $ fw -> get ( 'ROOT' ) . $ fw -> get ( 'BASE' ) ) . '.' . $ fw -> hash ( $ this -> file ) . '-' . $ this -> count . '.png' , $ this -> dump ( ) ) ; } return $ this ; }
docstring: Save current state
  @return object
docstring_tokens: Save current state