*/ if (!defined('DOKU_INC')) die(); if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); require_once(dirname(__FILE__).'/core.php'); class syntax_plugin_mikioplugin_listgroupitem extends syntax_plugin_mikioplugin_core { public $tag = 'listgroup-item'; public $requires_tag = 'listgroup'; public $hasEndTag = true; public $options = array( 'active' => array('type' => 'boolean', 'default' => 'false'), 'disabled' => array('type' => 'boolean', 'default' => 'false'), 'url' => array('type' => 'url', 'default' => ''), 'content-vertical' => array('type' => 'boolean', 'default' => 'false'), ); public function __construct() { $this->addCommonOptions('type text-align'); } public function getAllowedTypes() { return array('formatting', 'substition', 'disabled'); } public function getPType() { return 'normal'; } public function render_lexer_enter(Doku_Renderer $renderer, $data) { $classes = $this->buildClass($data, array('active', 'disabled', 'content-vertical')); $renderer->doc .= '