X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fdocs%2Fextending%2Fclickable_links.pod;fp=rt%2Fdocs%2Fextending%2Fclickable_links.pod;h=dd80ff10f5ba01cc47cb1085b1cf54e2efa742e7;hp=91e9eec22c5b35ac11382a3f7945b4c4e2e7ef02;hb=c5922713bc199600bc8c203155a4016c9d24cbbc;hpb=7c841dec307feed06ee532ac18e4114ef68243a8 diff --git a/rt/docs/extending/clickable_links.pod b/rt/docs/extending/clickable_links.pod index 91e9eec22..dd80ff10f 100644 --- a/rt/docs/extending/clickable_links.pod +++ b/rt/docs/extending/clickable_links.pod @@ -89,11 +89,20 @@ add action types. Values are subroutine references which will get called when needed. They should return the modified string. Note that subroutine B HTML. -=item handler +=item handle A subroutine reference; modify it only if you have to. This can be used to add pre- or post-processing around all actions. +=item cache + +An undefined variable that should be replaced with a subroutine +reference. This subroutine will be called twice, once with the arguments +fetch => content_ref and once with store => content_ref. In the fetch +case, if a cached copy is found, return the cached content, otherwise +return a false value. When passed store, you should populate your cache +with the content. The return value is ignored in this case. + =back =head2 Actions' arguments