...
Expand |
---|
|
Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, a dump of the tags are shown below. Code Block |
---|
language | php |
---|
title | The {module} object |
---|
collapse | true |
---|
| stdClass Object
(
[host_name] => domain.com
[name_servers] => Array
(
[0] => ns1.domain.com
[1] => ns2.domain.com
)
) |
Code Block |
---|
language | php |
---|
title | The {package} object |
---|
collapse | true |
---|
| stdClass Object
(
[id] => 32
[id_format] => {num}
[id_value] => 12
[module_id] => 4
[name] => Package Name
[description] => Package Text Description
[description_html] => <h1>Package HTML Description</h1>
[qty] => 3
[module_row] => 6
[module_group] =>
[taxable] => 0
[status] => active
[company_id] => 1
[id_code] => 12
[email_content] => Array
(
[0] => stdClass Object
(
[lang] => en_us
[html] => <p>Welcome email html</p>
[text] => Welcome email text
)
)
[pricing] => Array
(
[0] => stdClass Object
(
[id] => 43
[term] => 123
[period] => day
[price] => 3.0000
[setup_fee] => 0.0000
[cancel_fee] => 0.0000
[currency] => AUD
)
[1] => stdClass Object
(
[id] => 42
[term] => 0
[period] => onetime
[price] => 2.0000
[setup_fee] => 0.0000
[cancel_fee] => 0.0000
[currency] => USD
)
)
[meta] => stdClass Object
(
[package] => Bronze
[type] => standard
)
[groups] => Array
(
[0] => stdClass Object
(
[id] => 2
[name] => Standard Group
[type] => standard
)
)
[package] => Bronze
[type] => standard
) |
Code Block |
---|
language | php |
---|
title | The {service} object |
---|
collapse | true |
---|
| stdClass Object
(
[id] => 124
[parent_service_id] =>
[id_format] => {num}
[id_value] => 119
[pricing_id] => 42
[client_id] => 3
[module_row_id] => 6
[coupon_id] =>
[qty] => 1
[status] => active
[date_added] => 2013-03-07 18:57:45
[date_renews] =>
[date_last_renewed] =>
[date_suspended] =>
[date_canceled] =>
[id_code] => 119
[fields] => Array
(
[0] => stdClass Object
(
[key] => cpanel_domain
[value] => domain.com
[serialized] => 0
[encrypted] => 0
)
[1] => stdClass Object
(
[key] => cpanel_password
[value] => password
[serialized] => 0
[encrypted] => 1
)
[2] => stdClass Object
(
[key] => cpanel_username
[value] => domainco
[serialized] => 0
[encrypted] => 0
)
)
[package_pricing] => stdClass Object
(
[id] => 42
[package_id] => 32
[term] => 0
[period] => One time
[price] => 2.0000
[setup_fee] => 0.0000
[cancel_fee] => 0.0000
[currency] => USD
)
[package] => stdClass Object
(
[id] => 32
[id_format] => {num}
[id_value] => 12
[module_id] => 4
[name] => Package Name
[description] => Package Text Description
[description_html] => <h1>Package HTML Description</h1>
[qty] => 3
[module_row] => 6
[module_group] =>
[taxable] => 0
[status] => active
[company_id] => 1
)
[name] => domain.com
[cpanel_domain] => domain.com
[cpanel_password] => password
[cpanel_username] => domainco
) |
|
...
The only thing left to do is to add this Package Group to an order form so clients may place orders for your Multicraft servers. See Creating an Order Form for more details.
Moving cPanel Accounts
...
If you need to move one or more cPanel accounts to a new or different server, follow these steps:
...