<commit_before><?php
// (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project
// 
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$

class WikiPlugin_oohtml extends WikiPlugin_HtmlBase
{
	public $type = 'oohtml';
	public $documentation = 'PluginHTML';
	public $prefs = array('wikiplugin_html');

	private $validate = 'all';
	private $filter = 'rawhtml_unsafe';
	private $icon = 'img/icons/mime/html.png';
	private $tags = array( 'basic' );

	function __construct()
	{
		if (empty(self::$name)) {
			self::$name = tra('Object oriented version of the html wiki plugin');
			self::$description = tra('Add HTML to a page');
			self::$body = tra('HTML code');
			self::$params = array(
				'wiki' => array(
					'required' => false,
					'name' => tra('Wiki Syntax'),
					'description' => tra('Parse wiki syntax within the HTML code.'),
					'options' => array(<commit_msg>[FIX] Prevent "Fatal Error... must be public.."<commit_after><?php
// (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project
// 
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$

class WikiPlugin_oohtml extends WikiPlugin_HtmlBase
{
	public $type = 'oohtml';
	public $documentation = 'PluginHTML';
	public $prefs = array('wikiplugin_html');

	public $validate = 'all';
	public $filter = 'rawhtml_unsafe';
	public $icon = 'img/icons/mime/html.png';
	public $tags = array( 'basic' );

	function __construct()
	{
		if (empty(self::$name)) {
			self::$name = tra('Object oriented version of the html wiki plugin');
			self::$description = tra('Add HTML to a page');
			self::$body = tra('HTML code');
			self::$params = array(
				'wiki' => array(
					'required' => false,
					'name' => tra('Wiki Syntax'),
					'description' => tra('Parse wiki syntax within the HTML code.'),
					'options' => array(
{'fraction_non_alphanumeric': 0.1465183752417795, 'fraction_numerical': 0.007736943907156673, 'mean_word_length': 3.949760765550239, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '793053', 'n_tokens_mistral': 717, 'n_tokens_neox': 627, 'n_words': 217}