CImage.php
public function setRemoteHostWhitelist($whitelist = null)
    {
        $this->remoteHostWhitelist = $whitelist;
        $this->log(
            "Setting remote host whitelist to: "
            . (is_null($whitelist) ? "null" : print_r($whitelist, 1))
        );
        return $this;
    }
public function setRemoteHostWhitelist($whitelist = null)
    {
        $this->remoteHostWhitelist = $whitelist;
        $this->log(
            "Setting remote host whitelist to: "
            . (is_null($whitelist) ? "null" : print_r($whitelist, 1))
        );
        return $this;
    }
public function setRemoteHostWhitelist ( $ whitelist = null ) { $ this -> remoteHostWhitelist = $ whitelist ; $ this -> log ( "Setting remote host whitelist to: " . ( is_null ( $ whitelist ) ? "null" : print_r ( $ whitelist , 1 ) ) ) ; return $ this ; }
Set whitelist for valid hostnames from where remote source can be
downloaded.

@param array $whitelist with regexp hostnames to allow download from.

@return $this
Set whitelist for valid hostnames from where remote source can be downloaded .