\MainWP\DashboardMainWP_Site_Open

Class MainWP_Site_Open

Summary

Methods
Properties
Constants
get_class_name()
render()
render_restore()
open_site_restore()
verify_open_nonce()
open_site_location()
get_open_site_url()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
open_site()
No private properties found
N/A

Methods

get_class_name()

get_class_name() : string

Get Class Name

Returns

string —

CLASS

render()

render() 

Child Site Dashboard Link redirect handler.

This method checks to see if the current user is allow to access the Child Site, then grabs the websiteid, location, openurl & passes it onto either open_site_location or open_site methods.

render_restore()

render_restore() 

This renders the method open_site _restore()

open_site_restore()

open_site_restore(mixed  $website, mixed  $file, mixed  $size) 

This opens the site restore.

Parameters

mixed $website

Website ID.

mixed $file

Restore File.

mixed $size

Post data size.

verify_open_nonce()

verify_open_nonce() 

This verify opens the site nonce.

open_site_location()

open_site_location(mixed  $website, mixed  $open_location) 

This opens the site location.

Parameters

mixed $website

Website ID.

mixed $open_location

Website URL.

get_open_site_url()

get_open_site_url(mixed  $website, mixed  $location = '', boolean  $echo_out = true) : mixed

Method get_open_site_url()

Render render open site url.

Parameters

mixed $website

Website ID.

mixed $location

open location.

boolean $echo_out

Echo or not.

Returns

mixed —

Render modal window for themes selection.

open_site()

open_site(mixed  $website, mixed  $location, array  $params = array()) 

This method opens the requested Child Site Admin.

Parameters

mixed $website

Website ID.

mixed $location

Website Location.

array $params

others params.