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); foreach ($this->_htmlPlaceholdersFields as $field) { if (!Qs_Array::get($data, $field)) { $data[$field] = '-'; } } $this->_setHtmlPlaceholdersData($data); } return parent::getPlaceholdersData(); } }