set_company()
set_company(string $str)
Set the company name for this address.
Parameters
string | $str |
A simple class for defining and manipulating an address.
from_array(array $params, string $prefix)
Fill the contents of the current object with the data from an array.
Expects an associative array with the following fields: company,firstname,lastname,address1,address2,city,state,postal,country,phone,fax,email.
array | $params | The input array |
string | $prefix | An optional prefix for the array keys. |