本文整理汇总了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";