diff --git a/core/valuesetdef/ValueSetRange.php b/core/valuesetdef/ValueSetRange.php new file mode 100644 index 000000000..f0353251b --- /dev/null +++ b/core/valuesetdef/ValueSetRange.php @@ -0,0 +1,28 @@ +m_iStart = $iStart; + $this->m_iEnd = $iEnd; + $this->m_iStep = $iStep; + } + + protected function LoadValues($aArgs) + { + $iValue = $this->m_iStart; + for ($iValue = $this->m_iStart; $iValue <= $this->m_iEnd; $iValue += $this->m_iStep) { + $this->m_aValues[$iValue] = $iValue; + } + return true; + } +} \ No newline at end of file