JFeedFactory::registerParser
Method to register a JFeedParser class for a given root tag name.
Signature
public function registerParser(string
$tagName,
[string
$className = false,
[boolean
$overwrite = false]] )
Parameters
-
$tagName
- The root tag name for which to register the parser class.
-
$className
- The JFeedParser class name to register for a root tag name.
-
$overwrite
- True to overwrite the parser class if one is already registered.
Returns
- JFeedFactory
Errors/Exceptions
-
InvalidArgumentException