Lines Matching full:if

104      * Check if the class is one of the fixed names
107 * @return bool true if the class was loaded, false otherwise
111 if (isset($this->fixedClassNames[$className])) {
119 * Check if the class is a test mock class
122 * @return bool true if the class was loaded, false otherwise
126 if ($this->prefixStrip($classPath, 'dokuwiki/test/mock/')) {
128 if (file_exists($file)) {
137 * Check if the class is a test mock class
140 * @return bool true if the class was loaded, false otherwise
144 if ($this->prefixStrip($classPath, 'dokuwiki/test/')) {
146 if (file_exists($file)) {
155 * Check if the class is a namespaced plugin class
158 * @return bool true if the class was loaded, false otherwise
164 if ($this->prefixStrip($classPath, 'dokuwiki/plugin/')) {
167 if (file_exists($file)) {
169 // don't load disabled plugin classes (only if plugin controller is available)
170if (!defined('DOKU_UNITTEST') && $plugin_controller && plugin_isdisabled($plugin)) return false;
184 * Check if the class is a namespaced template class
187 * @return bool true if the class was loaded, false otherwise
192 if ($this->prefixStrip($classPath, 'dokuwiki/template/')) {
195 if (file_exists($file)) {
210 * Check if the class is a namespaced DokuWiki core class
213 * @return bool true if the class was loaded, false otherwise
217 if ($this->prefixStrip($classPath, 'dokuwiki/')) {
219 if (file_exists($file)) {
228 * Check if the class is a un-namespaced plugin class following our naming scheme
231 * @return bool true if the class was loaded, false otherwise
237 if (
248 if (file_exists($plg)) {
249 // don't load disabled plugin classes (only if plugin controller is available)
250if (!defined('DOKU_UNITTEST') && $plugin_controller && plugin_isdisabled($m[2])) return false;
263 * Check if the given string starts with the given prefix and strip it
267 * @return bool true if the prefix was found and stripped, false otherwise
271 if (str_starts_with($string, $prefix)) {