Großer grüner Pfeil

LimeSurvey

LimeStore

ToolsDomDocument for plugins


The primary purpose is to manipulate HTML just before shown. Exemple of usage for beforeQuestionRender {ANSWERS}. Not using regexp, because find id or element in HTML is more stable.

The class can be easily imported using $dom = new \toolsDomDocument\SmartDOMDocument();. After 2 function extend php DOMDocument are added.

  • loadPartialHTML : to load the HTML of answers
  • saveHTMLExact : to get exact HTML updated.

A version for LimeSurvey 2.73 and lesser exist.

Author: Denis Chenu
Vendor: Denis Chenu
Since: 2019-02-20
Version: 0.2.1
Compatibility: 3.x
Type: Plugin
Downloads: 405
Support:
   
  FREE DOWNLOAD

Gallery



Join our Newsletter!