PHP Class RTMediaUploadView, rtMedia

Author: joshua
Show file Open project: rtCamp/rtMedia Class Usage Examples

Public Methods

Method Description
__construct ( type $attr )
render ( type $template_name ) Render the uploader shortcode and attach the uploader panel
upload_nonce_generator ( $echo = true, $only_nonce = false )

Protected Methods

Method Description
locate_template ( type $template ) : string Template Locator

Method Details

__construct() public method

public __construct ( type $attr )
$attr type

locate_template() protected method

Template Locator
protected locate_template ( type $template ) : string
$template type
return string

render() public method

Render the uploader shortcode and attach the uploader panel
public render ( type $template_name )
$template_name type

upload_nonce_generator() static public method

static public upload_nonce_generator ( $echo = true, $only_nonce = false )