toFile() 공개 메소드

If $data is false, saves current image data after performing any pending operations on the data. If $data contains raw image data, saves that data to file without regard for the current image data.
public toFile ( $data = null ) : string
리턴 string Path to temporary file.
예제 #1
0
파일: Image.php 프로젝트: platolin/horde
 /**
  * Wraps the given view into a file.
  *
  * @param string $view  Which view to wrap up.
  *
  * @return string  Path to temporary file.
  * @deprecated Not used anywhere, remove in A4.
  */
 public function toFile($view = 'full')
 {
     $this->load($view);
     return $this->_image->toFile($this->_dirty ? false : $this->_data[$view]);
 }