/** * Set the index of the plugin in the controller dispatch loop plugin stack * * @param integer $index The index of the plugin in the stack * @return integer The previous index. */ public static function setControllerPluginStackIndex($index) { $previous = self::$_controllerPluginStackIndex; self::$_controllerPluginStackIndex = $index; return $previous; }