Manual:findClasses.php

From mediawiki.org
This page is a translated version of the page Manual:FindClasses.php and the translation is 67% complete.
Other languages:
MediaWiki バージョン:
1.37


詳細

findClasses.php is a maintenance script to finds the files containing classes via the autoloader.

オプション/引数

このスクリプトにはオプション/引数はありません。

使用法

php maintenance/findClasses.php

Finding a single class

Terminal

$ echo "SpecialPage" | php maintenance/findClasses.php

/var/www/html/includes/specialpage/SpecialPage.php

Finding multiple classes through file

classes.txt
HTMLForm
SpecialPage
Html
Xml
Terminal
$ php maintenance/findClasses.php < classes.txt

/var/www/html/includes/htmlform/HTMLForm.php
/var/www/html/includes/specialpage/SpecialPage.php
/var/www/html/includes/Html.php
/var/www/html/includes/xml/Xml.php

関連項目