/** * Create an instance of the ValidForm Builder * * @param string $name The name and id of the form in the HTML DOM and JavaScript. * @param string $description Desriptive text which is displayed above the form. Default `null` * @param string|null $action Form action. If left empty the form will post to itself. Default `null` * @param array $meta The meta array */ public function __construct($name, $description = null, $action = null, $meta = array()) { parent::__construct($name, $description, $action, $meta); $this->__nextlabel = isset($meta["nextLabel"]) ? $meta["nextLabel"] : "Next →"; $this->__previouslabel = isset($meta["previousLabel"]) ? $meta["previousLabel"] : "← Previous"; $this->__nextclass = isset($meta["nextClass"]) ? $meta["nextClass"] : ""; $this->__previousclass = isset($meta["previousClass"]) ? $meta["previousClass"] : ""; }