0

扩展类位于同一文件夹结构下时出现此错误。致命错误:找不到类“parseRestClient”

//parseObject.php
<?php
class parseObject extends parseRestClient{


//parse.php
<?php
include 'parseConfig.php';
include 'parseObject.php';
include 'parseQuery.php';
include 'parseUser.php';
include 'parseFile.php';
include 'parsePush.php';
include 'parseGeoPoint.php';
include 'parseACL.php';
include 'parseCloud.php';

class parseRestClient{
4

1 回答 1

0

在尝试从它继承之前,您需要加载 parseRestClient 类。在顶部parseObject.php,尝试添加include('parse.php').

于 2013-10-10T23:14:32.477 回答