\MainWP\DashboardMainWP_Site_Open

Class MainWP_Site_Open

Summary

Methods
Properties
Constants
get_class_name()
render()
open_site()
render_restore()
open_site_restore()
open_site_location()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
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.

open_site()

open_site(mixed  $website, mixed  $location, null  $pNewWindow = null) 

This method opens the requested Child Site Admin.

Parameters

mixed $website

Website ID.

mixed $location

Website Location.

null $pNewWindow

Open in new window.

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.

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.