Added: WHMCS => WebsitePanel contact sync - When client edits his / her contact

details within WHMCS, their WebsitePanel based hosting packages also get
updated as well
This commit is contained in:
Christopher York 2012-12-13 12:06:28 -06:00
parent aa3a358e46
commit 61ddba8a23
3 changed files with 187 additions and 0 deletions

View file

@ -290,6 +290,27 @@ class WebsitePanel
return (array)$this->execute_server_method(WebsitePanel::SERVICEFILE_PACKAGES, 'GetMyPackages', array('userId' => $userid))->GetMyPackagesResult->PackageInfo;
}
/**
*
* @param int $userId User id
* @param string $filterColumn Column name to filter on
* @param string $filterValue Filter value
* @param int $statusId Status id
* @param int $roleId Role id
* @param string $sortColumn Column name to sort on
* @param int $startRow Row to start at
* @param int $maximumRows Maximum rows to return
*/
public function get_users_paged_recursive($userId, $filterColumn, $filterValue, $statusId, $roleId, $sortColumn, $startRow = 0, $maximumRows = 999)
{
$params = array();
foreach (get_defined_vars() as $name => $value)
{
$params[$name] = $value;
}
return $this->execute_server_method(WebSitePanel::SERVICEFILE_USERS, 'GetUsersPagedRecursive', $params)->GetUsersPagedRecursiveResult;
}
/**
* WebsitePanel::UpdatePackageLiteral()
*