当前位置: 首页>>代码示例>>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;未经允许,请勿转载。