liberty
[ class tree: liberty ] [ index: liberty ] [ all elements ]

Procedural File: filter.attachment.php

Source Location: /liberty/plugins/filter.attachment.php



Page Details:



Tags:

version:  $Header$
filesource:  Source Code for this file







PLUGIN_GUID_FILTERATTACHMENT [line 11]

PLUGIN_GUID_FILTERATTACHMENT = 'filterattachment'
definitions ( guid character limit is 16 chars )


[ Top ]




attachment_filter [line 91]

TRUE attachment_filter( &$pString, &$pFilterHash, string $pString, array $pFilterHash)

attachment_filter will find out what attachments are used where.



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters

string   $pString  
array   $pFilterHash  
   &$pString  
   &$pFilterHash  
[ Top ]



attachment_filter_expunge [line 128]

TRUE attachment_filter_expunge( string $pString, &$pFilterHash, array $pFilterHash)

attachment_filter_expunge



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters

string   $pString  
array   $pFilterHash  
   &$pFilterHash  
[ Top ]



attachment_filter_get_usage [line 142]

array attachment_filter_get_usage( array $pAttachmentId)

attachment_filter_get_usage this function will return all content that uses a given attachment in their content



Tags:

return:  of content that uses the attachment
access:  public


Parameters

array   $pAttachmentId   Attachment ID of the attachment we want usage stats for
[ Top ]



Documentation generated on Wed, 29 Jul 2015 13:56:28 +0000 by phpDocumentor 1.5.0-lsces