當前位置: 首頁>>代碼示例>>PHP>>正文


PHP PhoneNumber::getListPhoneTypes方法代碼示例

本文整理匯總了PHP中PhoneNumber::getListPhoneTypes方法的典型用法代碼示例。如果您正苦於以下問題:PHP PhoneNumber::getListPhoneTypes方法的具體用法?PHP PhoneNumber::getListPhoneTypes怎麽用?PHP PhoneNumber::getListPhoneTypes使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在PhoneNumber的用法示例。


在下文中一共展示了PhoneNumber::getListPhoneTypes方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: indexAction

 public function indexAction()
 {
     if (isset($this->_session->messages)) {
         $this->view->messages = $this->_session->messages;
     }
     $this->_form = new WebVista_Form(array('name' => 'patient-new'));
     $this->_form->setAction(Zend_Registry::get('baseUrl') . "patient-new.raw/add-process");
     $this->_patient = new Patient();
     $this->_patient->defaultProvider = (int) Zend_Auth::getInstance()->getIdentity()->personId;
     $this->_address = new Address();
     $this->_phoneNumber = new PhoneNumber();
     $this->_form->loadORM($this->_patient, "Patient");
     $this->_form->setWindow('windowNewPatientId');
     //$this->_form->registrationLocationId->setValue($this->_location->locationId);
     $this->view->form = $this->_form;
     $this->view->statesList = Address::getStatesList();
     $this->view->phoneTypes = PhoneNumber::getListPhoneTypes();
     $this->view->addressTypes = Address::getListAddressTypes();
     $this->render();
 }
開發者ID:dragonlet,項目名稱:clearhealth,代碼行數:20,代碼來源:PatientNewController.php

示例2: detailsAction

 public function detailsAction()
 {
     $patientId = (int) $this->_getParam('patientId');
     $this->_patient = new Patient();
     $this->_patient->person_id = $patientId;
     $this->_patient->populate();
     $facilityIterator = new FacilityIterator();
     $facilityIterator->setFilter(array('Practice'));
     $this->_form = new WebVista_Form(array('name' => 'patient-details'));
     $this->_form->setAction(Zend_Registry::get('baseUrl') . "patient.raw/process-details");
     $this->_form->loadORM($this->_patient, "Patient");
     $this->_form->setWindow('windowPatientDetailsId');
     $this->view->form = $this->_form;
     $this->view->facilityIterator = $facilityIterator;
     $this->view->reasons = PatientNote::listReasons();
     $this->view->statesList = Address::getStatesList();
     $this->view->phoneTypes = PhoneNumber::getListPhoneTypes();
     $this->view->addressTypes = Address::getListAddressTypes();
     $this->render();
 }
開發者ID:dragonlet,項目名稱:clearhealth,代碼行數:20,代碼來源:PatientController.php

示例3: editCompanyAction

 public function editCompanyAction()
 {
     $id = (int) $this->_getParam('id');
     $this->_company = new Company();
     if ($id > 0) {
         $this->_company->companyId = $id;
         $this->_company->populate();
     }
     $this->_form = new WebVista_Form(array('name' => 'edit-company'));
     $this->_form->setAction(Zend_Registry::get('baseUrl') . 'insurance-manager.raw/process-edit-company');
     $this->_form->loadORM($this->_company, 'company');
     $this->_form->setWindow('winEditCompanyId');
     $this->view->form = $this->_form;
     $this->view->email = $this->_company->_companyEmail;
     $this->view->statesList = Address::getStatesList();
     $this->view->phoneTypes = PhoneNumber::getListPhoneTypes();
     $this->view->addressTypes = Address::getListAddressTypes();
     $this->render('edit-company');
 }
開發者ID:dragonlet,項目名稱:clearhealth,代碼行數:19,代碼來源:InsuranceManagerController.php

示例4: editAction

 public function editAction()
 {
     $personId = (int) $this->_getParam('personId');
     if (isset($this->_session->messages)) {
         $this->view->messages = $this->_session->messages;
     }
     $this->_form = new WebVista_Form(array('name' => 'person-detail'));
     $this->_form->setAction(Zend_Registry::get('baseUrl') . "admin-persons.raw/edit-process");
     $this->_person = new Person();
     $this->_person->person_id = $personId;
     $this->_person->populate();
     $this->_form->loadORM($this->_person, "Person");
     //var_dump($this->_form);
     $this->view->form = $this->_form;
     $this->view->person = $this->_person;
     $practices = array('' => '');
     $facilityIterator = new FacilityIterator();
     $facilityIterator->setFilter(array('Practice'));
     foreach ($facilityIterator as $practice) {
         $practices[$practice->id] = $practice->name;
     }
     $this->view->practices = $practices;
     $genders = array('' => '');
     $gender = Enumeration::getEnumArray('Gender', 'key');
     foreach ($gender as $key => $value) {
         $genders[$key] = $value;
     }
     $this->view->genders = $genders;
     $maritalStatuses = array('' => '');
     $maritalStatus = Enumeration::getEnumArray('Marital Status', 'key');
     foreach ($maritalStatus as $key => $value) {
         $maritalStatuses[$key] = $value;
     }
     $this->view->maritalStatuses = $maritalStatuses;
     $this->view->statesList = Address::getStatesList();
     $this->view->phoneTypes = PhoneNumber::getListPhoneTypes();
     $this->view->addressTypes = Address::getListAddressTypes();
     $identifierTypes = array('' => '');
     $identifierType = Enumeration::getEnumArray('Identifier Type', 'key');
     foreach ($identifierType as $key => $value) {
         $identifierTypes[$key] = $value;
     }
     $this->view->identifierTypes = $identifierTypes;
     //Person::getListIdentifierTypes();
     $this->render('edit-person');
 }
開發者ID:dragonlet,項目名稱:clearhealth,代碼行數:46,代碼來源:AdminPersonsController.php


注:本文中的PhoneNumber::getListPhoneTypes方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。