public function getPhysicalInterfaces() { $this->__load(); return parent::getPhysicalInterfaces(); }
/** * @param IXP_Form_Interface_Virtual $form The form object * @param \Entities\VirtualInterface $object The Doctrine2 entity (being edited or blank for add) * @param bool $isEdit True of we are editing an object, false otherwise * @param array $options Options passed onto Zend_Form * @param string $cancelLocation Where to redirect to if 'Cancal' is clicked * @return void */ protected function formPostProcess($form, $object, $isEdit, $options = null, $cancelLocation = null) { if ($isEdit) { $form->getElement('custid')->setValue($object->getCustomer()->getId()); $this->view->ptypes = \Entities\SwitchPort::$TYPES; $this->view->cust = $object->getCustomer(); $this->view->physInts = $object->getPhysicalInterfaces(); $this->view->vlanInts = $object->getVlanInterfaces(); $this->view->type = $object->getType(); } }