本文整理匯總了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;
}
}
}