Source of file CalendarTimeField.php
Size: 0,589 Bytes - Last Modified: 2021-12-23T10:56:10+00:00
/var/www/docs.ssmods.com/process/src/code/CalendarTimeField.php
12345678910111213141516171819202122 | <?php class CalendarTimeField extends TimeField { function Field($properties = array()) { $attributes = array( 'type' => 'text', 'class' => 'text' . ($this->extraClass() ? $this->extraClass() : ''), 'id' => $this->id(), 'name' => $this->Name(), 'value' => $this->attrValue(), 'tabindex' => $this->getTabIndex(), 'maxlength' => ($this->maxLength) ? $this->maxLength : null, 'size' => ($this->maxLength) ? min( $this->maxLength, 30 ) : null ); if($this->disabled) $attributes['disabled'] = 'disabled'; return $this->createTag('input', $attributes); } } |