SproutCMS

This is the code documentation for the SproutCMS project

function replace()

Replaces an event with another event.

Usage

boolean Event::replace ( string $name , array $existing , array $callback );

Authors

Arguments

  1. string $name
    event name
  2. array $existing
    event to replace
  3. array $callback
    new callback

Return value

  • boolean