Ignore:
Timestamp:
Jun 2, 2014, 9:55:46 AM (10 years ago)
Author:
mistic100
Message:

feature 3010 : replace trigger_action/event by trigger_notify/change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/derivative.inc.php

    r26461 r28587  
    6868    {
    6969      $ext = strtolower($ext);
    70       $this->rel_path = trigger_event('get_mimetype_location', get_themeconf('mime_icon_dir').$ext.'.png', $ext );
     70      $this->rel_path = trigger_change('get_mimetype_location', get_themeconf('mime_icon_dir').$ext.'.png', $ext );
    7171      $this->flags |= self::IS_MIMETYPE;
    7272      if ( ($size=@getimagesize(PHPWG_ROOT_PATH.$this->rel_path)) === false)
     
    135135    if ( !($this->flags & self::IS_MIMETYPE) )
    136136    {
    137       $url = trigger_event('get_src_image_url', $url, $this);
     137      $url = trigger_change('get_src_image_url', $url, $this);
    138138    }
    139139    return embellish_url($url);
     
    236236    }
    237237    return embellish_url(
    238         trigger_event('get_derivative_url',
     238        trigger_change('get_derivative_url',
    239239          get_root_url().$rel_url,
    240240          $params, $src_image, $rel_url
     
    406406    }
    407407    return embellish_url(
    408         trigger_event('get_derivative_url',
     408        trigger_change('get_derivative_url',
    409409          get_root_url().$this->rel_url,
    410410          $this->params, $this->src_image, $this->rel_url
Note: See TracChangeset for help on using the changeset viewer.