【发布时间】:2014-04-15 09:02:50
【问题描述】:
我是 PHP 的新手,我在“缺少 EduSuckr::getParticipantComments() 的参数 2,在 C:\xampp\htdocs\elgg\mod\edufeedr\views\default\edufeedr\participant_profile 中调用。 php 在第 55 行并在文件 C:\xampp\htdocs\elgg\mod\edufeedr\edusuckr.php (第 110 行)中定义”
participant_profile.php 第 55 行
$comments = $es->getParticipantComments(array($vars['entity']->guid, $vars['participant']->blog_base));
var_dump($comments);
if (!($comments && is_array($comments))) {
$comments = array();
和文件 edusuckr.php 第 110 行
function getParticipantComments($course_guid, $participant_id) {
return unserialize($this->client->call('getParticipantComments', array($course_guid, $participant_id)));
}
有人可以帮我解释一下我做错了什么。
谢谢!
【问题讨论】:
标签: php