slug = $slug; } public function getSlug() { return $this->slug; } public function render_text_input( $key, $placeholder = '',$conditional_type = null, $disabled = false, $hidden = false, $empty = false, $type = 'standard') { $i = $this->getConditionIndex(); if(!empty($conditional_type)){ $attr_name = "pys[event][$this->slug][$i][$conditional_type][$key]"; $attr_id = 'pys_event_' . $this->slug . '_' . $i . '_'.$conditional_type. '_' . $key; } else { $attr_name = "pys[event][$this->slug][$i][$key]"; $attr_id = 'pys_event_' . $this->slug . '_' . $i . '_' . $key; } $attr_value = $this->getParam($key); $classes = array( "input-$type" ); if ( $hidden ) { $classes[] = 'form-control-hidden'; } $classes = implode( ' ', $classes ); ?> type="text" name="" id="" value="" placeholder="" class=""> getConditionIndex(); if(!empty($conditional_type)){ $attr_name = "pys[event][$this->slug][$i][$conditional_type][$key]"; $attr_id = 'pys_event_' . $this->slug . '_' . $i . '_'.$conditional_type. '_' . $key; } else { $attr_name = "pys[event][$this->slug][$i][$key]"; $attr_id = 'pys_event_' . $this->slug . '_' . $i . '_' . $key; } $attr_value = $this->getParam($key); ?>
getConditionIndex(); $attr_name = "pys[event][$this->slug][$i][$key][]"; $attr_id = 'pys_event_' . $this->slug . '_' . $i . '_' . $key; $selected = $this->getParam($key) ? $this->getParam($key) : array(); if ( !empty( $classes ) ) { $classes = ' ' . $classes; } else { $classes = $pysselect2 ? 'pys-pysselect2' : ''; } ?> getConditionIndex(); $id = "pys_event_" . rand( 1, 1000000 )."_".$key.'_'.$value; $attr_name = "pys[event][$this->slug][$i][$key]"; $attr_value = $this->getParam($key); ?>
class="custom-control-input" id="" value="">