LinkProcessorStrategy Interface Reference

Detailed Description

LinkProcessorStrategy defines the interface for strategies used by LinkProcessor.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

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
$objectThe object
Returns
Boolean

◆ getObjectUrl()

getObjectUrl ( PersistentObject  $object,
  $params = null 
)

Get the url under which the object should be published.

Parameters
$objectThe object
paramsAdditional parameter, i.e. section=images&param=x