Class plgContentGeshi

Description
  • copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
  • license: GNU

Located in /plugins/content/geshi/geshi.php (line 12)

JObject
   |
   --JEvent
      |
      --JPlugin
         |
         --plgContentGeshi
Method Summary
void onContentPrepare (string $context, object The &$article, object The &$params, [int $page = 0])
string _replace (array &$matches)
Variables

Inherited Variables

Inherited from JPlugin

JPlugin::$params
JPlugin::$_name
JPlugin::$_type

Inherited from JEvent

JEvent::$_subject

Inherited from JObject

JObject::$_errors
Methods
onContentPrepare (line 20)
  • access: public
void onContentPrepare (string $context, object The &$article, object The &$params, [int $page = 0])
  • string $context: The context of the content being passed to the plugin.
  • object The &$article: article object. Note $article->text is also available
  • object The &$params: article params
  • int $page: The 'page' number
_replace (line 42)

Replaces the matched tags.

  • access: protected
string _replace (array &$matches)
  • array &$matches: An array of matches (see preg_match_all)

Inherited Methods

Inherited From JPlugin

JPlugin::__construct()
JPlugin::loadLanguage()

Inherited From JEvent

JEvent::__construct()
JEvent::update()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:54:59 -0500 by phpDocumentor 1.4.4