sync_website()
sync_website(object $website) : boolean
Method sync_website()
Sync Child Site.
Parameters
object | $website | object. |
Returns
boolean —sync result.
Class MainWP_Sync
sync_site(mixed $pWebsite = null, boolean $pForceFetch = false, boolean $pAllowDisconnect = true) : boolean
Method sync_site()
mixed | $pWebsite | Null|userid. |
boolean | $pForceFetch | Check if a fourced Sync. |
boolean | $pAllowDisconnect | Check if allowed to disconect. |
sync_information_array
sync_information_array(object $pWebsite, array $information, string $sync_errors = '', integer $check_result = 1, boolean $error = false, boolean $pAllowDisconnect = true) : boolean
Method sync_information_array()
Grab all Child Site Information.
object | $pWebsite | The website object. |
array | $information | Array contaning information returned from child site. |
string | $sync_errors | Check for Sync Errors. |
integer | $check_result | Check if offline. |
boolean | $error | True|False. |
boolean | $pAllowDisconnect | True|False. |
true|false True on success, false on failure.