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


PHP UserFactory::setPayPeriodSchedule方法代碼示例

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


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

示例1: UserListFactory

         $uf->setProvince($udf_obj->getProvince());
     }
     if ($udf_obj->getCountry() != '') {
         $uf->setCountry($udf_obj->getCountry());
     }
     $uf->setWorkPhone($udf_obj->getWorkPhone());
     $uf->setWorkPhoneExt($udf_obj->getWorkPhoneExt());
     $uf->setWorkEmail($udf_obj->getWorkEmail());
     $uf->setHireDate($udf_obj->getHireDate());
     $uf->setDefaultBranch($udf_obj->getDefaultBranch());
     $uf->setDefaultDepartment($udf_obj->getDefaultDepartment());
     if ($udf_obj->getPermissionControl() != '') {
         $uf->setPermissionControl($udf_obj->getPermissionControl());
     }
     if ($udf_obj->getPayPeriodSchedule() != '') {
         $uf->setPayPeriodSchedule($udf_obj->getPayPeriodSchedule());
     }
     if ($udf_obj->getPolicyGroup() != '') {
         $uf->setPolicyGroup($udf_obj->getPolicyGroup());
     }
     if ($udf_obj->getCurrency() != '') {
         $uf->setCurrency($udf_obj->getCurrency());
     }
 }
 if ($update_column != FALSE and isset($mapped_row[$update_column])) {
     //Try looking up user by the update column.
     echo "  Looking up User By: {$update_column} (" . $mapped_row[$update_column] . ") - " . str_pad($mapped_row['first_name'] . " " . $mapped_row['last_name'], 20, '.', STR_PAD_RIGHT) . "... ";
     $ulf = new UserListFactory();
     $ulf->getSearchByCompanyIdAndArrayCriteria($mapped_row['company_id'], array($update_column => $ulf->Validator->stripSpaces($mapped_row[$update_column])));
     if ($ulf->getRecordCount() == 1) {
         echo " Found 1 User\n";
開發者ID:alachaum,項目名稱:timetrex,代碼行數:31,代碼來源:import_users.php


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