Lines Matching refs:js

207 			$js = [];
209 $js[] = ['C', $objattr['onCalculate']];
212 $js[] = ['V', $objattr['onValidate']];
215 $js[] = ['F', $objattr['onFormat']];
218 $js[] = ['K', $objattr['onKeystroke']];
221 $this->SetFormText($w, $h, $objattr['fieldname'], $val, $val, $objattr['title'], $flags, $fieldalign, false, (isset($objattr['maxlength']) ? $objattr['maxlength'] : false), $js, (isset($objattr['background-col']) ? $objattr['background-col'] : false), (isset($objattr['border-col']) ? $objattr['border-col'] : false));
299 $js = [];
301 $js[] = ['C', $objattr['onCalculate']];
304 $js[] = ['V', $objattr['onValidate']];
307 $js[] = ['F', $objattr['onFormat']];
310 $js[] = ['K', $objattr['onKeystroke']];
312 $this->SetFormText($w, $h, $objattr['fieldname'], $texto, $texto, (isset($objattr['title']) ? $objattr['title'] : ''), $flags, $fieldalign, false, -1, $js, (isset($objattr['background-col']) ? $objattr['background-col'] : false), (isset($objattr['border-col']) ? $objattr['border-col'] : false));
377 $js = $objattr['onChange'];
379 $js = '';
400 $this->SetFormChoice($w, $h, $objattr['fieldname'], $flags, $data, $rtlalign, $js);
459 $js = $objattr['onClick'];
461 $js = '';
463 $this->SetJSButton($w, $h, $objattr['fieldname'], (isset($objattr['value']) ? $objattr['value'] : ''), $js, $objattr['ID'], $objattr['title'], $flags, (isset($objattr['Indexed']) ? $objattr['Indexed'] : false));
501 $js = $objattr['onClick'];
503 $js = '';
505 $this->SetJSButton($w, $h, $objattr['fieldname'], $objattr['value'], $js, 0, $objattr['title'], $flags, false, (isset($objattr['background-col']) ? $objattr['background-col'] : false), (isset($objattr['border-col']) ? $objattr['border-col'] : false), (isset($objattr['noprint']) ? $objattr['noprint'] : false));
792 function SetFormButtonJS($name, $js)
794 $js = str_replace("\t", ' ', trim($js));
795 if (isset($name) && isset($js)) {
797 'js' => $js
802 function SetFormChoiceJS($name, $js)
804 $js = str_replace("\t", ' ', trim($js));
805 if (isset($name) && isset($js)) {
807 'js' => $js
812 function SetFormTextJS($name, $js)
814 for ($i = 0; $i < count($js); $i++) {
815 $j = str_replace("\t", ' ', trim($js[$i][1]));
816 $format = $js[$i][0];
818 $this->array_form_text_js[$this->writer->escape($name)][$format] = ['js' => $j];
837 function SetFormText($w, $h, $name, $value = '', $default = '', $title = '', $flags = [], $align = 'L', $hidden = false, $maxlen = -1, $js = '', $background_col = false, $border_col = false)
909 if (is_array($js) && count($js) > 0) {
910 $this->SetFormTextJS($name, $js);
938 function SetFormChoice($w, $h, $name, $flags, $array, $align = 'L', $js = '')
989 if ($js) {
990 $this->SetFormChoiceJS($name, $js);
1034 function SetJSButton($w, $h, $name, $value, $js, $image_id = 0, $title = '', $flags = [], $indexed = false, $background_col = false, $border_col = false, $noprint = false)
1045 if ($js) {
1046 $this->SetFormButtonJS($name, $js);
1575 $this->mpdf->_set_object_javascript($this->array_form_button_js[$form['T']]['js']);
1719 $this->mpdf->_set_object_javascript($this->array_form_choice_js[$form['T']]['js']);
1808 $this->mpdf->_set_object_javascript($this->array_form_text_js[$form['T']]['F']['js']);
1812 $this->mpdf->_set_object_javascript($this->array_form_text_js[$form['T']]['K']['js']);
1816 $this->mpdf->_set_object_javascript($this->array_form_text_js[$form['T']]['V']['js']);
1820 $this->mpdf->_set_object_javascript($this->array_form_text_js[$form['T']]['C']['js']);