public function push($source, $target)
    {
        $pushed = false;
        if ($this->modx->getCacheManager()) {
            $pushed = $this->modx->cacheManager->copyFile($source, $target, array('copy_preserve_permissions' => true));
        }
        return $pushed;
    }
public function push($source, $target)
    {
        $pushed = false;
        if ($this->modx->getCacheManager()) {
            $pushed = $this->modx->cacheManager->copyFile($source, $target, array('copy_preserve_permissions' => true));
        }
        return $pushed;
    }
public function push ( $ source , $ target ) { $ pushed = false ; if ( $ this -> modx -> getCacheManager ( ) ) { $ pushed = $ this -> modx -> cacheManager -> copyFile ( $ source , $ target , array ( 'copy_preserve_permissions' => true ) ) ; } return $ pushed ; }
Push a source to a specified target location.

@param string $source A valid file or stream location source.
@param string $target A valid file or stream location target.

@return bool Returns true if the source was pushed successfully to the target, false otherwise.
Push a source to a specified target location .