Components \ commerce \ affiliates administrators commissions payments \ configuration paymentmethods \ shippingmethods \ methods delivery discounts \ products brands categories \ recurringsales storedcards \ sales items \ receipts allocations \ customers \ contacts passwords referrertypes \ relationships types \ groups contacts \ marketing \ emailmarketing \ sends contacts unsubscribers \ events attendees locations \ reminders \ automation eventremindertrigger \ settings administrators components configurationitems cpanel customfields \ developer scheduledtasks threads domains \ website \ analytics sessions comments \ designs generator media pages \ posts categories Framework \ architecture publicassets \ assets css javascript \ caching filebased \ components textualids \ data util \ database mainconnection date \ dom currentcontext renderer \ html converters highlighter javascript \ http redirection request session useragent \ i18n companytypes countries languages \ network cidr dns geoip random \ reflection api \ system filenames filesystem toasts
.
.
.
quick access
\ methods

\Components\Settings\CPanel::

Class Methods

The following static methods are available on this class:
string getPassword()
Description
Returns the current cPanel password
Parameters
none
Return
Password
string getUser()
Description
Returns the username that this site is currently running under
Parameters
none
Return
User
void testCredentials($strServer, $strUser, $strPassword)
Description
Ensures a cpanel username and password are valid
Parameters
$strServer
string
$strUser
string
$strPassword
string
Return
void