谁能医生帮我看看那里这是什么

海淘晒单/汇报
代购 转让 交易
论坛版务/闲聊灌水
安全提问(未设置请忽略)
母亲的名字
爷爷的名字
父亲出生的城市
您其中一位老师的名字
您个人计算机的型号
您最喜欢的餐馆名称
驾驶执照最后四位数字
这是啥意思啊,谁能帮忙看一下啊,谷歌翻译的也有点茫然啊
查看: 4693|回复: 6
该用户从未签到
Your cart is eligible for a financing offer
No Interest for 6 Months if paid in full within 6 Months with
Store Card on any purchase totaling $149 or more.
Interest will be charged to your account from the purchase date if the promotional balance is not paid in full within 6 months. Subject to credit approval. Minimum monthly payments required.
该用户从未签到
看不太懂。。。。。。
该用户从未签到
你购物车中的东西可以进行分期付款
如果你用亚马逊的联名信用卡支付149美金及以上的订单,然后在6个月之内付完全额,则不需要支付利息
如果超过6个月你还未全额支付,那利息将产生在你的账户里,分期付款需要进行信贷审批,且每个月需要进行最低额还款
大致翻译了一下,不过你用不到,亚马逊的联名信用卡得美国人才能办
该用户从未签到
无视吧,那个卡办不了
该用户从未签到
呵呵,国人受的限制真多哦
该用户从未签到
嗯,用不了
该用户从未签到
亚马逊的无息分期付款 只要你的购物车里面东西超过一定限额 就会提醒
menu.innerHTML = ''+upload_form+'' + str + '提交取消';
menu.innerHTML = '' + str + '提交取消';
showMenu({'ctrlid':ctrlid,'evt':'click','duration':3,'cache':0,'drag':1});
function seditor_insertunit(key, text, textend, moveend, selappend) {
if($(key + 'message')) {
$(key + 'message').focus();
textend = isUndefined(textend) ? '' :
moveend = isUndefined(textend) ? 0 :
selappend = isUndefined(selappend) ? 1 :
startlen = strlen(text);
endlen = strlen(textend);
if(!isUndefined($(key + 'message').selectionStart)) {
if(selappend) {
var opn = $(key + 'message').selectionStart + 0;
if(textend != '') {
text = text + $(key + 'message').value.substring($(key + 'message').selectionStart, $(key + 'message').selectionEnd) +
$(key + 'message').value = $(key + 'message').value.substr(0, $(key + 'message').selectionStart) + text + $(key + 'message').value.substr($(key + 'message').selectionEnd);
if(!moveend) {
$(key + 'message').selectionStart = opn + strlen(text) -
$(key + 'message').selectionEnd = opn + strlen(text) -
text = text +
$(key + 'message').value = $(key + 'message').value.substr(0, $(key + 'message').selectionStart) + text + $(key + 'message').value.substr($(key + 'message').selectionEnd);
} else if(document.selection && document.selection.createRange) {
var sel = document.selection.createRange();
if(!sel.text.length && $(key + 'message').sel) {
sel = $(key + 'message').
$(key + 'message').sel =
if(selappend) {
if(textend != '') {
text = text + sel.text +
sel.text = text.replace(/\r?\n/g, '\r\n');
if(!moveend) {
sel.moveStart('character', -endlen);
sel.moveEnd('character', -endlen);
sel.select();
sel.text = text +
$(key + 'message').value +=
hideMenu(2);
if(BROWSER.ie) {
function dm_editor_squarestrip(str) {
str = str.replace('[', '%5B');
str = str.replace(']', '%5D');
function dm_ajaxpost(formid, showid, waitid, showidclass, submitbtn, recall) {
var waitid = typeof waitid == 'undefined' || waitid === null ? showid : (waitid !== '' ? waitid : '');
var showidclass = !showidclass ? '' :
var ajaxframeid = 'ajaxframe';
var ajaxframe = $(ajaxframeid);
var curform = $(formid);
var formtarget = curform.
var handleResult = function() {
var s = '';
var evaled =
showloading('none');
s = jQuery("#"+ajaxframeid).contents().find("body").first().html();
} catch(e) {
s = '内部错误 无法显示';
if(parseInt(s) > 0) {
// 上传成功
var attachnew = '';
if(jQuery("#fwin_reply").length > 0){
jQuery("#postform").append(attachnew);
seditor_insertunit("post", '[attachimg]' + s, '[/attachimg]', null, 1);
}else if(jQuery("#fwin_newthread").length > 0){
jQuery("#postform").append(attachnew);
seditor_insertunit("post", '[attachimg]' + s, '[/attachimg]', null, 1);
jQuery("#fastpostform").append(attachnew);
seditor_insertunit("fastpost", '[attachimg]' + s, '[/attachimg]', null, 1);
hideMenu();
s = dm_lang[0];
} else if (parseInt(s) < 0) {
var n = Math.abs(parseInt(s));
s = dm_lang[n];
if(showidclass) {
if(showidclass != 'onerror') {
$(showid).className =
showError(s);
if(submitbtn) {
submitbtn.disabled =
if(!evaled) {
ajaxinnerhtml($(showid), s);
if(curform) curform.target =
if(typeof recall == 'function') {
eval(recall);
if(!evaled) evalscript(s);
ajaxframe.loading = 0;
if(!BROWSER.firefox || BROWSER.safari) {
$('append_parent').removeChild(ajaxframe.parentNode);
setTimeout(
function(){
$('append_parent').removeChild(ajaxframe.parentNode);
if(!ajaxframe) {
var div = document.createElement('div');
div.style.display = 'none';
div.innerHTML = '';
$('append_parent').appendChild(div);
ajaxframe = $(ajaxframeid);
} else if(ajaxframe.loading) {
_attachEvent(ajaxframe, 'load', handleResult);
showloading();
curform.target =
var action = curform.getAttribute('action');
action = hostconvert(action);
curform.action = action.replace(/\&inajax\=1/g, '')+'&inajax=1';
curform.submit();
if(submitbtn) {
submitbtn.disabled =
您需要登录后才可以回帖
回帖后跳转到最后一页
Powered by
X3.1 | &&&&-10 &
&京公网安备64号&
北京米饭粒科技有限公司 版权所有
地址:北京市蓝靛厂东路金源商务中心B区2号1709&&&电话:010-谁能帮我看看这是什么东西_百度知道
谁能帮我看看这是什么东西
/zhidao/pic/item/cf1b9d16fdfaaf516a3eeef11f7a69;&<img class="ikqb_img" src="/zhidao/wh%3D600%2C800/sign=bdc4b26bde33c895a62b907dede9c82d158ccbfdebc3eb0354169.baidu.hiphotos://e://f.com/zhidao/pic/item//zhidao/wh%3D600%2C800/sign=/zhidao/wh%3D600%2C800/sign=bc1d41b2cd8065387bbfac15a7ed8d7c//zhidao/wh%3D450%2C600/sign=/zhidao/wh%3D450%2C600/sign=be2d2eea8f83ebd162d9f2d2d0c31f://f.hiphotos://b;&nbsp&/zhidao/wh%3D600%2C800/sign=4fa4c20a76ef2d3ec437ed/cf1b9d16fdfaaf516a3eeef11f7a69://e://h.baidu
我有更好的答案
古董。收着去鉴宝栏目让专家看看
好的,谢谢!
有点意思 是出土的吧
是的,在河边发现的
年代久远 可能是几千年前渔猎有关
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁百度拇指医生
&&&普通咨询
您的网络环境存在异常,
请输入验证码
验证码输入错误,请重新输入最后登录13-1-31在线时间33 小时赞0 注册时间11-1-10积分152帖子精华0UID199634
注册日期: 11-1-10
帖子: 63|积分: 152
赞助商广告
谁可以帮我看看这个是什么问题,急!
warning: trim() expects parameter 1 to be string, array given in /var/www/joomla/libraries/joomla/html/parameter.php on line 83
在 parameter.php 文件如下,红色的部分是line83,帮忙看看,急啊!
&br /&
&?php&br /&
/**&br /&
* @version& && &&&$id: parameter.php -01-26 14:10:00z louis $&br /&
* @package& && &&&joomla.framework&br /&
* @subpackage& & parameter&br /&
* @copyright& & copyright (c) 2005 - 2010 open source matters. all rights reserved.&br /&
* @license& && &&&gnu/gpl, see license.php&br /&
* joomla! is free software. this version may have been modified pursuant&br /&
* to the gnu general public license, and as distributed it includes or&br /&
* is derivative of works licensed under the gnu general public license or&br /&
* other free or open source software licenses.&br /&
* see copyright.php for copyright notices and details.&br /&
*/&br /&
&br /&
// check to ensure this file is within the rest of the framework&br /&
defined('jpath_base') or die();&br /&
&br /&
jimport( 'joomla.registry.registry' );&br /&
&br /&
//register the element class with the loader&br /&
jloader::register('jelement', dirname(__file__).ds.'parameter'.ds.'element.php');&br /&
&br /&
/**&br /&
* parameter handler&br /&
* @package& &&&joomla.framework&br /&
* @subpackage& && &&&parameter&br /&
* @since& && &&&1.5&br /&
*/&br /&
class jparameter extends jregistry&br /&
{&br /&
& & /**&br /&
& &&&* the raw params string&br /&
& &&&*&br /&
& &&&* @access& & private&br /&
& &&&* @var& && &&&string&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & var $_raw =&br /&
&br /&
& & /**&br /&
& &&&* the xml params element&br /&
& &&&*&br /&
& &&&* @access& & private&br /&
& &&&* @var& && &&&object&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & var $_xml =&br /&
&br /&
& & /**&br /&
& & * loaded elements&br /&
& & *&br /&
& & * @access& & private&br /&
& & * @var& && &&&array&br /&
& & * @since& & 1.5&br /&
& & */&br /&
& & var $_elements = array();&br /&
&br /&
& & /**&br /&
& & * directories, where element types can be stored&br /&
& & *&br /&
& & * @access& & private&br /&
& & * @var& && &&&array&br /&
& & * @since& & 1.5&br /&
& & */&br /&
& & var $_elementpath = array();&br /&
&br /&
& & /**&br /&
& &&&* constructor&br /&
& &&&*&br /&
& &&&* @access& & protected&br /&
& &&&* @param& & string the raw parms text&br /&
& &&&* @param& & string path to the xml setup file&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function __construct($data, $path = '')&br /&
& & {&br /&
& && &&&parent::__construct('_default');&br /&
&br /&
& && & // set base path&br /&
& && &&&$this-&_elementpath[] = dirname( __file__ ).ds.'parameter'.ds.'element';&br /&
&br /&
& && & if (trim( $data )) {&br /&
& && && && &$this-&loadini($data);&br /&
& && &&&}&br /&
&br /&
& && &&&if ($path) {&br /&
& && && && &$this-&loadsetupfile($path);&br /&
& && &&&}&br /&
&br /&
& && &&&$this-&_raw = $&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* set a value&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string the name of the param&br /&
& &&&* @param& & string the value of the parameter&br /&
& &&&* @return& & string the set value&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function set($key, $value = '', $group = '_default')&br /&
& & {&br /&
& && &&&return $this-&setvalue($group.'.'.$key, (string) $value);&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* get a value&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string the name of the param&br /&
& &&&* @param& & mixed the default value if not found&br /&
& &&&* @return& & string&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function get($key, $default = '', $group = '_default')&br /&
& & {&br /&
& && &&&$value = $this-&getvalue($group.'.'.$key);&br /&
& && &&&$result = (empty($value) && ($value !== 0) && ($value !== '0')) ? $default : $&br /&
& && &&&return $&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* sets a default value if not alreay assigned&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string& & the name of the param&br /&
& &&&* @param& & string& & the value of the parameter&br /&
& &&&* @param& & string& & the parameter group to modify&br /&
& &&&* @return& & string& & the set value&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function def($key, $default = '', $group = '_default') {&br /&
& && &&&$value = $this-&get($key, (string) $default, $group);&br /&
& && &&&return $this-&set($key, $value);&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* sets the xml object from custom xml files&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & object& & an xml object&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function setxml( &$xml )&br /&
& & {&br /&
& && &&&if (is_object( $xml ))&br /&
& && &&&{&br /&
& && && && &if ($group = $xml-&attributes( 'group' )) {&br /&
& && && && && & $this-&_xml[$group] = $&br /&
& && && && &} else {&br /&
& && && && && & $this-&_xml['_default'] = $&br /&
& && && && &}&br /&
& && && && &if ($dir = $xml-&attributes( 'addpath' )) {&br /&
& && && && && & $this-&addelementpath( jpath_root . str_replace('/', ds, $dir) );&br /&
& && && && &}&br /&
& && &&&}&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* bind data to the parameter&br /&
& &&&*&br /&
& &&&* @param& & mixed& & $data array or object&br /&
& &&&* @return& & boolean& & true if the data was successfully bound&br /&
& &&&* @access& & public&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function bind($data, $group = '_default')&br /&
& & {&br /&
& && &&&if ( is_array($data) ) {&br /&
& && && && &return $this-&loadarray($data, $group);&br /&
& && &&&} elseif ( is_object($data) ) {&br /&
& && && && &return $this-&loadobject($data, $group);&br /&
& && &&&} else {&br /&
& && && && &return $this-&loadini($data, $group);&br /&
& && &&&}&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* render&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string& & the name of the control, or the default text area if a setup file is not found&br /&
& &&&* @return& & string& & html&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function render($name = 'params', $group = '_default')&br /&
& & {&br /&
& && &&&if (!isset($this-&_xml[$group])) {&br /&
& && && && &&br /&
& && &&&}&br /&
&br /&
& && &&&$params = $this-&getparams($name, $group);&br /&
& && &&&$html = array ();&br /&
& && &&&$html[] = '&table width=&100%& class=&paramlist admintable& cellspacing=&1&&';&br /&
&br /&
& && &&&if ($description = $this-&_xml[$group]-&attributes('description')) {&br /&
& && && && &// add the params description to the display&br /&
& && && && &$desc& & = jtext::_($description);&br /&
& && && && &$html[]& & = '&tr&&td class=&paramlist_description& colspan=&2&&'.$desc.'&/td&&/tr&';&br /&
& && &&&}&br /&
&br /&
& && &&&foreach ($params as $param)&br /&
& && &&&{&br /&
& && && && &$html[] = '&tr&';&br /&
&br /&
& && && && &if ($param[0]) {&br /&
& && && && && & $html[] = '&td width=&40%& class=&paramlist_key&&&span class=&editlinktip&&'.$param[0].'&/span&&/td&';&br /&
& && && && && & $html[] = '&td class=&paramlist_value&&'.$param[1].'&/td&';&br /&
& && && && &} else {&br /&
& && && && && & $html[] = '&td class=&paramlist_value& colspan=&2&&'.$param[1].'&/td&';&br /&
& && && && &}&br /&
&br /&
& && && && &$html[] = '&/tr&';&br /&
& && &&&}&br /&
&br /&
& && &&&if (count($params) & 1) {&br /&
& && && && &$html[] = &&tr&&td colspan=\&2\&&&i&&.jtext::_('there are no parameters for this item').&&/i&&/td&&/tr&&;&br /&
& && &&&}&br /&
&br /&
& && &&&$html[] = '&/table&';&br /&
&br /&
& && &&&return implode(&\n&, $html);&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* render all parameters to an array&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string& & the name of the control, or the default text area if a setup file is not found&br /&
& &&&* @return& & array& & array of all parameters, each as array any array of the label, the form element and the tooltip&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function rendertoarray($name = 'params', $group = '_default')&br /&
& & {&br /&
& && &&&if (!isset($this-&_xml[$group])) {&br /&
& && && && &&br /&
& && &&&}&br /&
& && &&&$results = array();&br /&
& && &&&foreach ($this-&_xml[$group]-&children() as $param)&&{&br /&
& && && && &$result = $this-&getparam($param, $name);&br /&
& && && && &$results[$result[5]] = $&br /&
& && &&&}&br /&
& && &&&return $&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* return number of params to render&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @return& & mixed& & boolean falst if no params exist or integer number of params that exist&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function getnumparams($group = '_default')&br /&
& & {&br /&
& && &&&if (!isset($this-&_xml[$group]) || !count($this-&_xml[$group]-&children())) {&br /&
& && && && &&br /&
& && &&&} else {&br /&
& && && && &return count($this-&_xml[$group]-&children());&br /&
& && &&&}&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* get the number of params in each group&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @return& & array& & array of all group names as key and param count as value&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function getgroups()&br /&
& & {&br /&
& && &&&if (!is_array($this-&_xml)) {&br /&
& && && && &&br /&
& && &&&}&br /&
& && &&&$results = array();&br /&
& && &&&foreach ($this-&_xml as $name =& $group)&&{&br /&
& && && && &$results[$name] = $this-&getnumparams($name);&br /&
& && &&&}&br /&
& && &&&return $&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* render all parameters&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string& & the name of the control, or the default text area if a setup file is not found&br /&
& &&&* @return& & array& & aarray of all parameters, each as array any array of the label, the form element and the tooltip&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function getparams($name = 'params', $group = '_default')&br /&
& & {&br /&
& && &&&if (!isset($this-&_xml[$group])) {&br /&
& && && && &&br /&
& && &&&}&br /&
& && &&&$results = array();&br /&
& && &&&foreach ($this-&_xml[$group]-&children() as $param)&&{&br /&
& && && && &$results[] = $this-&getparam($param, $name);&br /&
& && &&&}&br /&
& && &&&return $&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* render a parameter type&br /&
& &&&*&br /&
& &&&* @param& & object& & a param tag node&br /&
& &&&* @param& & string& & the control name&br /&
& &&&* @return& & array& & any array of the label, the form element and the tooltip&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function getparam(&$node, $control_name = 'params', $group = '_default')&br /&
& & {&br /&
& && &&&//get the type of the parameter&br /&
& && &&&$type = $node-&attributes('type');&br /&
&br /&
& && &&&//remove any occurance of a mos_ prefix&br /&
& && &&&$type = str_replace('mos_', '', $type);&br /&
&br /&
& && &&&$element =& $this-&loadelement($type);&br /&
&br /&
& && &&&// error happened&br /&
& && &&&if ($element === false)&br /&
& && &&&{&br /&
& && && && &$result = array();&br /&
& && && && &$result[0] = $node-&attributes('name');&br /&
& && && && &$result[1] = jtext::_('element not defined for type').' = '.$&br /&
& && && && &$result[5] = $result[0];&br /&
& && && && &return $&br /&
& && &&&}&br /&
&br /&
& && &&&//get value&br /&
& && &&&$value = $this-&get($node-&attributes('name'), $node-&attributes('default'), $group);&br /&
&br /&
& && &&&return $element-&render($node, $value, $control_name);&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* loads an xml setup file and parses it&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string& & path to xml setup file&br /&
& &&&* @return& & object&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function loadsetupfile($path)&br /&
& & {&br /&
& && &&&$result =&br /&
&br /&
& && &&&if ($path)&br /&
& && &&&{&br /&
& && && && &$xml = & jfactory::getxmlparser('simple');&br /&
&br /&
& && && && &if ($xml-&loadfile($path))&br /&
& && && && &{&br /&
& && && && && & if ($params = & $xml-&document-&params) {&br /&
& && && && && && &&&foreach ($params as $param)&br /&
& && && && && && &&&{&br /&
& && && && && && && && &$this-&setxml( $param );&br /&
& && && && && && && && &$result =&br /&
& && && && && && &&&}&br /&
& && && && && & }&br /&
& && && && &}&br /&
& && &&&}&br /&
& && &&&else&br /&
& && &&&{&br /&
& && && && &$result =&br /&
& && &&&}&br /&
&br /&
& && &&&return $&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* loads a element type&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string& & elementtype&br /&
& &&&* @return& & object&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function &loadelement( $type, $new = false )&br /&
& & {&br /&
& && &&&$false =&br /&
& && &&&$signature = md5( $type&&);&br /&
&br /&
& && &&&if( (isset( $this-&_elements[$signature] ) && !is_a($this-&_elements[$signature], '__php_incomplete_class'))&&&& $new === false ) {&br /&
& && && && &return& & $this-&_elements[$signature];&br /&
& && &&&}&br /&
&br /&
& && &&&$elementclass& & =& & 'jelement'.$&br /&
& && &&&if( !class_exists( $elementclass ) )&br /&
& && &&&{&br /&
& && && && &if( isset( $this-&_elementpath ) ) {&br /&
& && && && && & $dirs = $this-&_&br /&
& && && && &} else {&br /&
& && && && && & $dirs = array();&br /&
& && && && &}&br /&
&br /&
& && && && &$file = jfilterinput::clean(str_replace('_', ds, $type).'.php', 'path');&br /&
&br /&
& && && && &jimport('joomla.filesystem.path');&br /&
& && && && &if ($elementfile = jpath::find($dirs, $file)) {&br /&
& && && && && & include_once $&br /&
& && && && &} else {&br /&
& && && && && & return $&br /&
& && && && &}&br /&
& && &&&}&br /&
&br /&
& && &&&if( !class_exists( $elementclass ) ) {&br /&
& && && && &return $&br /&
& && &&&}&br /&
&br /&
& && &&&$this-&_elements[$signature] = new $elementclass($this);&br /&
&br /&
& && &&&return $this-&_elements[$signature];&br /&
& & }&br /&
&br /&
& & /**&br /&
& &&&* add a directory where jparameter should search for element types&br /&
& &&&*&br /&
& &&&* you may either pass a string or an array of directories.&br /&
& &&&*&br /&
& &&&* jparameter will be searching for a element type in the same&br /&
& &&&* order you added them. if the parameter type cannot be found in&br /&
& &&&* the custom folders, it will look in&br /&
& &&&* jparameter/types.&br /&
& &&&*&br /&
& &&&* @access& & public&br /&
& &&&* @param& & string|array& & directory or directories to search.&br /&
& &&&* @since& & 1.5&br /&
& &&&*/&br /&
& & function addelementpath( $path )&br /&
& & {&br /&
& && &&&// just force path to array&br /&
& && &&&settype( $path, 'array' );&br /&
&br /&
& && &&&// loop through the path directories&br /&
& && &&&foreach ( $path as $dir )&br /&
& && &&&{&br /&
& && && && &// no surrounding spaces allowed!&br /&
& && && && &$dir = trim( $dir );&br /&
&br /&
& && && && &// add trailing separators as needed&br /&
& && && && &if ( substr( $dir, -1 ) != directory_separator ) {&br /&
& && && && && & // directory&br /&
& && && && && & $dir .= directory_&br /&
& && && && &}&br /&
&br /&
& && && && &// add to the top of the search dirs&br /&
& && && && &array_unshift( $this-&_elementpath, $dir );&br /&
& && &&&}&br /&
&br /&
&br /&
& & }&br /&
}&br /&复制代码
最后登录15-12-18在线时间60 小时赞0 注册时间08-12-27积分124帖子精华0UID86792
上海市苹果96
分享于 11-5-8 09:59:00
就是说你在类初始化的时候给了trim这个函数一个数组,而不是它所需要的字符串。
检查一下你传给类的那个$data,到底是不是字符串。
最后登录13-1-31在线时间33 小时赞0 注册时间11-1-10积分152帖子精华0UID199634
分享于 11-5-8 10:03:00
下面引用由mayafishing发表的内容:
就是说你在类初始化的时候给了trim这个函数一个数组,而不是它所需要的字符串。
检查一下你传给类的那个$data,到底是不是字符串。
是哪个文件?我上载的是joomla,要怎样更改解决呢?
最后登录16-3-24在线时间34 小时赞0 注册时间11-2-21积分45帖子精华0UID205604
分享于 11-5-13 09:35:00
82行&&$this->_elementpath[] = dirname( __file__ ).ds.'parameter'.ds.'element';
ds 是变量吗?
最后登录13-1-9在线时间910 小时赞0 注册时间10-4-25积分12409帖子精华0UID157404
分享于 11-6-15 23:09:00
代码神马的最讨厌了}

我要回帖

更多关于 帮忙看看 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信