메소드 | 설명 | |
---|---|---|
bindSession ( boolean $use_cookie = true ) : void | Bind URL to current user session | |
getFile ( ) : ElggFile | null | Returns file object | |
getURL ( ) : string | false | Returns publicly accessible URL | |
setDisposition ( string $disposition = self::ATTACHMENT ) : void | Sets content disposition | |
setExpires ( integer $expires = '+2 hours' ) : void | Sets URL expiration | |
setFile ( ElggFile $file ) : void | Set file object |
public bindSession ( boolean $use_cookie = true ) : void | ||
$use_cookie | boolean | Use cookie |
리턴 | void |
public setDisposition ( string $disposition = self::ATTACHMENT ) : void | ||
$disposition | string | Content disposition ('inline' or 'attachment') |
리턴 | void |
public setExpires ( integer $expires = '+2 hours' ) : void | ||
$expires | integer | String suitable for strtotime() |
리턴 | void |