Skip to content
  1. Extras
  2. xParser
  3. Plugin events
  4. xParserOnBeforeTaskActions

xParserOnBeforeTaskActions

Fires after building the article list with subtask data. Before adding resources.

Perhaps the most useful event, as it allows changing article data or stopping the parsing task entirely without adding anything.

Parameters

  • xParser $xp — main component class instance,
  • xpParser $parser — parser class instance,
  • array $task — task array,
  • array $rows — array of processed articles.