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/ws_core.inc.php

    r26461 r28587  
    292292        );
    293293
    294     trigger_action('ws_add_methods', array(&$this) );
     294    trigger_notify('ws_add_methods', array(&$this) );
    295295    uksort( $this->_methods, 'strnatcmp' );
    296296    $this->_requestHandler->handleRequest($this);
     
    307307    @header('Content-Type: '.$contentType.'; charset='.get_pwg_charset());
    308308    print_r($encodedResponse);
    309     trigger_action('sendResponse', $encodedResponse );
     309    trigger_notify('sendResponse', $encodedResponse );
    310310  }
    311311
     
    599599    }
    600600   
    601     $result = trigger_event('ws_invoke_allowed', true, $methodName, $params);
     601    $result = trigger_change('ws_invoke_allowed', true, $methodName, $params);
    602602    if ( strtolower( @get_class($result) )!='pwgerror')
    603603    {
Note: See TracChangeset for help on using the changeset viewer.