Class shardimage\shardimagephp\factories\Option

Inheritanceshardimage\shardimagephp\factories\Option

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
CACHE_NO_CACHE 'no-cache' shardimage\shardimagephp\factories\Option
CACHE_PRIVATE 'private' shardimage\shardimagephp\factories\Option
CACHE_PUBLIC 'public' shardimage\shardimagephp\factories\Option

Method Details

__toString() public method

Magic method for string casting.

public string __toString ( )
cache() public method

public void cache ( $cache )
$cache
cacheMaxAge() public method

public void cacheMaxAge ( $interval )
$interval
cacheMinFresh() public method

public void cacheMinFresh ( $interval )
$interval
cacheSharedMaxAge() public method

public void cacheSharedMaxAge ( $interval )
$interval
download() public method

Add download option to URL

public void download ( )
urlExpire() public method

Add expirity timestamp to URL

public void urlExpire ( $expire )
$expire integer