Project

General

Profile

Actions

Feature #12340

closed

Enhance the tx_linkvalidator_linkTypes_Interface

Added by Ernesto Baschny over 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Category:
Linkvalidator
Target version:
-
Start date:
2011-01-17
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The tx_linkvalidator_linkTypes_Interface currently only requires the method "checkLink()".

But the processor and the module also calls these methods on the hook objects:

- getErrorParams()
- fetchType()
- getBrokenUrl()

So these need to be added to the interface to make sure they are available.

- setErrorParams() (from the abstract class) doesn't seem to be part of that interface, so make that method "protected"

Also make sure that all members of these subclasses are "protected" (i.e. in tx_linkvalidator_linktypes_external = $url_reports + $url_error_params and tx_linkvalidator_linkTypes_LinkHandler = $tsconfig).

That would be important to have a stable and reliable API!

Thanks!

Cheers,
Ernesto


Files

12340.diff (11.8 KB) 12340.diff Michael Miousse, 2011-01-18 22:02
12340_v2.diff (15 KB) 12340_v2.diff Chris topher, 2011-01-19 02:26
12340_v3.diff (22.9 KB) 12340_v3.diff Michael Miousse, 2011-01-19 17:37
12340_v4.diff (21.5 KB) 12340_v4.diff Chris topher, 2011-01-19 20:02
12340_v5.diff (19.8 KB) 12340_v5.diff Michael Miousse, 2011-01-19 21:06
12340_v6.diff (21.2 KB) 12340_v6.diff Michael Miousse, 2011-01-19 22:45
12340_v7.diff (20 KB) 12340_v7.diff Michael Miousse, 2011-01-19 22:53
Actions

Also available in: Atom PDF