\Advert_Controller
Synopsis
class Advert_Controller
extends Controller
{
- // members
- protected static integer $chunck_size_kb = 32;
- protected static bool $use_x_sendfile = false;
- protected static bool $use_ss_sendfile = false;
- // methods
- public void click()
- public void image()
- public static void use_x_sendfile_method()
- public static void use_ss_sendfile_method()
- public static void use_default_sendfile_method()
- public static void set_chunk_size()
- public static void set_access_filename()
- public static string get_access_filename()
- public void fileFound()
- public void flush()
Hierarchy
Extends
- Controller
Members
Methods
public
- click()
- fileFound() — File found response.
- flush() — Flush the output buffer to the server (if possible).
- get_access_filename() — Get the Apache access file name.
- image()
- set_access_filename() — Set the Apache access file name (.htaccess by default) as determined by the AccessFileName Apache directive.
- set_chunk_size() — Set the size of upload chunk in bytes.
- use_default_sendfile_method() — Use the default chuncked file method to send files to the browser.
- use_ss_sendfile_method() — Use internal SilverStripe to send files to the browser.
- use_x_sendfile_method() — Use X-Sendfile headers to send files to the browser.