FastImage::load PHP Method

load() public method

public load ( $uri )
    public function load($uri)
    {
        if ($this->handle) {
            $this->close();
        }
        $this->handle = @fopen($uri, 'r');
        if (false === $this->handle) {
            return false;
        }
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Load URL
  *
  * @param $url
  */
 public function load($url)
 {
     $this->analyzer = new $this->fastImage();
     $this->analyzer->load($url);
 }
All Usage Examples Of FastImage::load