Esempio n. 1
0
 /**
  * tag helper creation, noise items that will be disposed
  *
  * @access  public
  * @param   $syntaxType string from what syntax type
  * @param   $tagType string what output tag type
  * @param   $content string what is inside the tag
  * @param   $params array what params to add to the tag, array, key = param, value = value
  * @param   $type default is "standard", of types : standard, inline, open, close
  * @return  string  $tag desired output from syntax
  */
 public function createWikiHelper($syntaxType, $tagType, $content = "", $params = array(), $type = "standard")
 {
     if (!isset($params['class'])) {
         $params['class'] = "";
     }
     $params['class'] .= " jpwch";
     //Jison Parser Wiki CKEditor Helper tag
     $params['class'] = trim($params['class']);
     return parent::createWikiHelper($syntaxType, $tagType, $content, $params, $type);
 }