PHP Class UploadTheme, shimmie2

Inheritance: extends Themelet
Show file Open project: shish/shimmie2 Class Usage Examples

Public Methods

Method Description
display_block ( Page $page )
display_full ( Page $page )
display_page ( Page $page )
display_replace_page ( Page $page, integer $image_id ) Only allows 1 file to be uploaded - for replacing another image file.
display_upload_error ( Page $page, string $title, string $message )
display_upload_status ( Page $page, boolean $ok )

Protected Methods

Method Description
build_upload_block ( ) : string
h_bookmarklets ( ) : string
h_upload_List_2 ( ) : string
h_upload_list_1 ( ) : string

Method Details

build_upload_block() protected method

protected build_upload_block ( ) : string
return string

display_block() public method

public display_block ( Page $page )
$page Page

display_full() public method

public display_full ( Page $page )
$page Page

display_page() public method

public display_page ( Page $page )
$page Page

display_replace_page() public method

Only allows 1 file to be uploaded - for replacing another image file.
public display_replace_page ( Page $page, integer $image_id )
$page Page
$image_id integer

display_upload_error() public method

public display_upload_error ( Page $page, string $title, string $message )
$page Page
$title string
$message string

display_upload_status() public method

public display_upload_status ( Page $page, boolean $ok )
$page Page
$ok boolean

h_bookmarklets() protected method

protected h_bookmarklets ( ) : string
return string

h_upload_List_2() protected method

protected h_upload_List_2 ( ) : string
return string

h_upload_list_1() protected method

protected h_upload_list_1 ( ) : string
return string