LinkProcessorStrategy Interface Reference
Detailed Description
LinkProcessorStrategy defines the interface for strategies used by LinkProcessor.
Definition at line 21 of file LinkProcessorStrategy.php.
Public Member Functions | |
isValidTarget (PersistentObject $object) | |
getObjectUrl (PersistentObject $object, $params=null) | |
Member Function Documentation
◆ isValidTarget()
isValidTarget | ( | PersistentObject | $object | ) |
Check if the given object is a valid link target.
- Parameters
-
$object The object
- Returns
- Boolean
◆ getObjectUrl()
getObjectUrl | ( | PersistentObject | $object, |
$params = null |
|||
) |
Get the url under which the object should be published.
- Parameters
-
$object The object params Additional parameter, i.e. section=images¶m=x