Initial Commit

This commit is contained in:
2013-02-08 20:18:32 +00:00
commit eaaf97ef7e
61 changed files with 3375 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
class HtRule_Rule_Comment extends HtRule
{
public function __construct()
{
$this->AddParam(new HtRule_Param('text', 'Comment', HtRule_Param::TYPE_TEXT, 'A Comment'));
parent::__construct();
}
public static function GetName()
{
return 'Comment';
}
public function RequireRewriteEngine()
{
return False;
}
public function __toString()
{
$text = $this->params['text']->Value();
$text = '# '.str_replace("\n", "\n# ", $text);
return $text;
}
}