Subversion Repositories oidplus

Rev

Rev 1116 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1116 Rev 1211
Line 26... Line 26...
26
abstract class OIDplusDesignPlugin extends OIDplusPlugin {
26
abstract class OIDplusDesignPlugin extends OIDplusPlugin {
27
 
27
 
28
        /**
28
        /**
29
         * @return string
29
         * @return string
30
         */
30
         */
31
        function getThemeColor(): string {
31
        public function getThemeColor(): string {
32
                return ''; // no theme color
32
                return ''; // no theme color
33
        }
33
        }
34
 
34
 
-
 
35
        /**
-
 
36
         * @return bool
-
 
37
         * @throws OIDplusException
-
 
38
         */
-
 
39
        public final function isActive(): bool {
-
 
40
                return basename($this->getPluginDirectory()) === OIDplus::config()->getValue('design');
-
 
41
        }
-
 
42
 
35
}
43
}