Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kyle Robbertze
committed
Aug 19, 2019
1 parent
a29f711
commit 7afc365
Showing
191 changed files
with
16,857 additions
and
894 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.0.0-alpha.7 | ||
3.0.0-alpha.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?php | ||
|
||
class Application_Form_ShowListenerStat extends Zend_Form_SubForm | ||
{ | ||
|
||
public function init() | ||
{ | ||
$this->setDecorators(array( | ||
array('ViewScript', array('viewScript' => 'form/daterange.phtml')) | ||
)); | ||
|
||
// Add start date element | ||
$startDate = new Zend_Form_Element_Text('his_date_start'); | ||
$startDate->class = 'input_text'; | ||
$startDate->setRequired(true) | ||
->setLabel(_('Date Start:')) | ||
->setValue(date("Y-m-d")) | ||
->setFilters(array('StringTrim')) | ||
->setValidators(array( | ||
'NotEmpty', | ||
array('date', false, array('YYYY-MM-DD')))) | ||
->setDecorators(array('ViewHelper')); | ||
$startDate->setAttrib('alt', 'date'); | ||
$this->addElement($startDate); | ||
|
||
// Add start time element | ||
$startTime = new Zend_Form_Element_Text('his_time_start'); | ||
$startTime->class = 'input_text'; | ||
$startTime->setRequired(true) | ||
->setValue('00:00') | ||
->setFilters(array('StringTrim')) | ||
->setValidators(array( | ||
'NotEmpty', | ||
array('date', false, array('HH:mm')), | ||
array('regex', false, array('/^[0-2]?[0-9]:[0-5][0-9]$/', 'messages' => _('Invalid character entered'))))) | ||
->setDecorators(array('ViewHelper')); | ||
$startTime->setAttrib('alt', 'time'); | ||
$this->addElement($startTime); | ||
|
||
// Add end date element | ||
$endDate = new Zend_Form_Element_Text('his_date_end'); | ||
$endDate->class = 'input_text'; | ||
$endDate->setRequired(true) | ||
->setLabel(_('Date End:')) | ||
->setValue(date("Y-m-d")) | ||
->setFilters(array('StringTrim')) | ||
->setValidators(array( | ||
'NotEmpty', | ||
array('date', false, array('YYYY-MM-DD')))) | ||
->setDecorators(array('ViewHelper')); | ||
$endDate->setAttrib('alt', 'date'); | ||
$this->addElement($endDate); | ||
|
||
// Add end time element | ||
$endTime = new Zend_Form_Element_Text('his_time_end'); | ||
$endTime->class = 'input_text'; | ||
$endTime->setRequired(true) | ||
->setValue('01:00') | ||
->setFilters(array('StringTrim')) | ||
->setValidators(array( | ||
'NotEmpty', | ||
array('date', false, array('HH:mm')), | ||
array('regex', false, array('/^[0-2]?[0-9]:[0-5][0-9]$/', 'messages' => _('Invalid character entered'))))) | ||
->setDecorators(array('ViewHelper')); | ||
$endTime->setAttrib('alt', 'time'); | ||
$this->addElement($endTime); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.