1<?php
2/**
3 * DokuWiki Plugin yuml (Syntax Component)
4 *
5 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
6 * @author  Pavel Laupe Dvořák <pavel@laupe.me>
7 */
8
9if (!defined('DOKU_INC')) define('DOKU_INC', realpath(dirname(__FILE__) . '/../../') . '/');
10if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC . 'lib/plugins/');
11
12class syntax_plugin_yuml_activitydiagram extends syntax_plugin_yuml_usecase
13{
14    protected $special_pattern = '<activitydiagram.*?>.*?</activitydiagram>';
15    protected $handle_pattern = '/<activitydiagram(.*?)>(.*)<\/activitydiagram>/is';
16    protected $yuml_type = 'activity';
17}