Subversion Repositories oidplus

Rev

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

Rev 1130 Rev 1131
Line 17... Line 17...
17
 * limitations under the License.
17
 * limitations under the License.
18
 */
18
 */
19
 
19
 
20
namespace Frdlweb\OIDplus;
20
namespace Frdlweb\OIDplus;
21
 
21
 
-
 
22
use ViaThinkSoft\OIDplus\INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_2;
22
use ViaThinkSoft\OIDplus\OIDplus;
23
use ViaThinkSoft\OIDplus\OIDplus;
23
use ViaThinkSoft\OIDplus\OIDplusException;
24
use ViaThinkSoft\OIDplus\OIDplusException;
24
use ViaThinkSoft\OIDplus\OIDplusPagePluginPublic;
25
use ViaThinkSoft\OIDplus\OIDplusPagePluginPublic;
25
 
26
 
26
// phpcs:disable PSR1.Files.SideEffects
27
// phpcs:disable PSR1.Files.SideEffects
27
\defined('INSIDE_OIDPLUS') or die;
28
\defined('INSIDE_OIDPLUS') or die;
28
// phpcs:enable PSR1.Files.SideEffects
29
// phpcs:enable PSR1.Files.SideEffects
29
 
30
 
30
class OIDplusPagePublicRdap extends OIDplusPagePluginPublic {
31
class OIDplusPagePublicRdap extends OIDplusPagePluginPublic
-
 
32
        implements INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_2 /* modifyContent */
-
 
33
{
31
 
34
 
32
        /**
35
        /**
33
         * @param string $id
-
 
34
         * @return bool
-
 
35
         */
-
 
36
        public function implementsFeature(string $id): bool {
-
 
37
                if (strtolower($id) == '1.3.6.1.4.1.37476.2.5.2.3.2') return true; // modifyContent
-
 
38
                return false;
-
 
39
        }
-
 
40
 
-
 
41
        /**
-
 
42
         * Implements interface 1.3.6.1.4.1.37476.2.5.2.3.2
36
         * Implements interface INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_2
43
         * @param string $id
37
         * @param string $id
44
         * @param string $title
38
         * @param string $title
45
         * @param string $icon
39
         * @param string $icon
46
         * @param string $text
40
         * @param string $text
47
         * @return void
41
         * @return void