'Billing Company or Site Name', 'billingCity', 'billingState', 'billingZip', 'billingPhone', 'billingEmail', 'shippingAsBilling', 'shippingFirstName', 'shippingLastName', 'shippingAddress', 'shippingCompanySiteName' => 'Shipping Company or Site Name', 'shippingCity', 'shippingState', 'shippingZip', 'shippingPhone', 'shippingEmail', ); public function getPlaceholdersData() { /** @var $doc App_Doc_User */ $doc = Zend_Registry::get('doc'); if ($doc->hasAuth()) { $id = $doc->getAuth()->getData('id'); $data = $this->_getFromDb($id); if ('y' == Qs_Array::get($data['shipping'], 'asBilling')) { $data['shipping']['asBilling'] = 'Yes'; $data['shipping'] = array_merge($data['shipping'], $data['billing']); } else { $data['shipping']['asBilling'] = 'No'; } $data = Qs_Array::flattenAssoc($data, true); $this->_setHtmlPlaceholdersData($data); } return parent::getPlaceholdersData(); } }