本文整理匯總了PHP中safe_map_named函數的典型用法代碼示例。如果您正苦於以下問題:PHP safe_map_named函數的具體用法?PHP safe_map_named怎麽用?PHP safe_map_named使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了safe_map_named函數的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: safe_map
/**
* Copy the specified request variable to the member variable of the specified object.
* Do no copy if the member variable is already set.
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
* All Rights Reserved.
*/
function safe_map($request_var, &$focus, $always_copy = false)
{
global $log;
$log->debug("Entering safe_map(" . $request_var . "," . get_class($focus) . "," . $always_copy . ") method ...");
safe_map_named($request_var, $focus, $request_var, $always_copy);
$log->debug("Exiting safe_map method ...");
}
示例2: safe_map
/**
* Copy the specified request variable to the member variable of the specified object.
* Do no copy if the member variable is already set.
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
* All Rights Reserved.
* Contributor(s): ______________________________________..
*/
function safe_map($request_var, &$focus, $always_copy = false)
{
safe_map_named($request_var, $focus, $request_var, $always_copy);
}
示例3: safe_map
/**
* Copy the specified request variable to the member variable of the specified object.
* Do no copy if the member variable is already set.
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
* All Rights Reserved.
* Contributor(s): ______________________________________..
*/
function safe_map($request_var, &$focus, $always_copy = false)
{
global $log;
//changed by dingjianting on 2007-11-05 for php5.2.x
$log->debug("Entering safe_map() method ...");
safe_map_named($request_var, $focus, $request_var, $always_copy);
$log->debug("Exiting safe_map method ...");
}