public function getData()
    {
        if ($this->data)
        {
            return $this->data;
        }
        if (!$this->url)
        {
            throw new AVException("Cannot retrieve data for unsaved AVFile.");
        }
        $this->data = $this->download();

        return $this->data;
    }
public function getData()
    {
        if ($this->data)
        {
            return $this->data;
        }
        if (!$this->url)
        {
            throw new AVException("Cannot retrieve data for unsaved AVFile.");
        }
        $this->data = $this->download();

        return $this->data;
    }
public function getData ( ) { if ( $ this -> data ) { return $ this -> data ; } if ( ! $ this -> url ) { throw new AVException ( "Cannot retrieve data for unsaved AVFile." ) ; } $ this -> data = $ this -> download ( ) ; return $ this -> data ; }
Return the data for the file, downloading it if not already present.

@return mixed

@throws AVException
Return the data for the file downloading it if not already present .