Files
EasySoft-ZenTaoPMS/module/editor/test/model/getclassnamebypath.php
T

19 lines
387 B
PHP

#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/lib/editor.unittest.class.php';
su('admin');
/**
title=测试 editorModel::getClassNameByPath();
cid=1
pid=1
根据文件路径获取类名 >> 1,1
*/
$editor = new editorTest();
r($editor->getClassNameByPathTest()) && p() && e('1,1'); //根据文件路径获取类名