PHP Class Newscoop\Storage\StorageService

Exibir arquivo Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$adapter

Public Methods

Method Description
__construct ( Zend_Cloud_StorageService_Adapter $adapter )
moveImage ( string $path ) : string Move given image into new location
moveThumbnail ( string $path ) : string Move given thumbnail into new location

Private Methods

Method Description
moveFile ( string $path, string $root ) : string Move file in given path to storage starting at root

Method Details

__construct() public method

public __construct ( Zend_Cloud_StorageService_Adapter $adapter )
$adapter Zend_Cloud_StorageService_Adapter

moveImage() public method

Move given image into new location
public moveImage ( string $path ) : string
$path string
return string

moveThumbnail() public method

Move given thumbnail into new location
public moveThumbnail ( string $path ) : string
$path string
return string

Property Details

$adapter protected_oe property

protected $adapter