本文整理汇总了PHP中Basic::fill_in_additional_list_fields方法的典型用法代码示例。如果您正苦于以下问题:PHP Basic::fill_in_additional_list_fields方法的具体用法?PHP Basic::fill_in_additional_list_fields怎么用?PHP Basic::fill_in_additional_list_fields使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Basic
的用法示例。
在下文中一共展示了Basic::fill_in_additional_list_fields方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fill_in_additional_list_fields
public function fill_in_additional_list_fields()
{
parent::fill_in_additional_list_fields();
if (empty($this->amount_usdollar) && !empty($this->amount)) {
$this->amount_usdollar = SugarCurrency::convertWithRate($this->amount, $this->base_rate);
}
}
示例2:
function fill_in_additional_list_fields()
{
parent::fill_in_additional_list_fields();
//Ensure that the amount_usdollar field is not null.
if (empty($this->amount_usdollar) && !empty($this->amount)) {
$this->amount_usdollar = $this->amount;
}
}
示例3:
function fill_in_additional_list_fields()
{
parent::fill_in_additional_list_fields();
/*// Fill in the assigned_user_name
//$this->assigned_user_name = get_assigned_user_name($this->assigned_user_id);
$account_info = $this->getAccount($this->id);
$this->account_name = $account_info['account_name'];
$this->account_id = $account_info['account_id'];*/
}
示例4: fill_in_additional_list_fields
public function fill_in_additional_list_fields()
{
$this->fillInName();
parent::fill_in_additional_list_fields();
}
示例5: fill_in_additional_list_fields
public function fill_in_additional_list_fields()
{
parent::fill_in_additional_list_fields();
$focus = BeanFactory::getBean($this->module);
if ($focus instanceof SugarBean) {
$focus->retrieve($this->record_id);
if (!empty($focus->id)) {
$this->record_name = $focus->name;
}
}
}