Plugin Hooks » FileChanged


Hook Details
Typeaction
Available Since3.5
Latest Version Used4.6.1

Add-ons Using "FileChanged"

Below is a list of all add-ons that have implemented the "FileChanged" hook by defining it in their addon.ini file.

This hook is not yet used by any add-ons.

Where "FileChanged" is Called

Below is quick look at where "FileChanged" is implemented within the Typesetter code.

Package:   Typesetter Core File:   Typesetter/include/admin/admin_uploaded.php Line: 873

Lines 863 through 881

if( isset($result['added']) && count($result['added']) > ){
    foreach(
$result['added'] as $added){
        
gpPlugin::Action('FileUploaded',$added['realpath']);
        
self::CreateThumbnail($added['realpath']);
    }
}

//changed files (resized)
if( isset($result['changed']) && count($result['changed']) > ){
    foreach(
$result['changed'] as $changed){
        
gpPlugin::Action('FileChanged',$changed['realpath']);
        
self::CreateThumbnail($changed['realpath']);
    }
}

gp_resized::SaveIndex();

View the complete file ( GitHub.com )


Need a new hook for your addon?
Let us know, we're more than happy to accommodate!

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register