private function getFieldOutputYear($tblName, $details, $iar)
    {
        $listOfValues = [];
        for ($cntr = 1901; $cntr <= 2155; $cntr++) {
            $listOfValues[$cntr] = $cntr;
        }
        if ($iar == []) {
            $slDflt = $this->getFieldValue($details);
            return $this->setArrayToSelect($listOfValues, $slDflt, $details['COLUMN_NAME'], ['size' => 1]);
        }
        return $this->getFieldOutputText($tblName, 'varchar', $details, $iar);
    }
private function getFieldOutputYear($tblName, $details, $iar)
    {
        $listOfValues = [];
        for ($cntr = 1901; $cntr <= 2155; $cntr++) {
            $listOfValues[$cntr] = $cntr;
        }
        if ($iar == []) {
            $slDflt = $this->getFieldValue($details);
            return $this->setArrayToSelect($listOfValues, $slDflt, $details['COLUMN_NAME'], ['size' => 1]);
        }
        return $this->getFieldOutputText($tblName, 'varchar', $details, $iar);
    }
private function getFieldOutputYear ( $ tblName , $ details , $ iar ) { $ listOfValues = [ ] ; for ( $ cntr = 1901 ; $ cntr <= 2155 ; $ cntr ++ ) { $ listOfValues [ $ cntr ] = $ cntr ; } if ( $ iar == [ ] ) { $ slDflt = $ this -> getFieldValue ( $ details ) ; return $ this -> setArrayToSelect ( $ listOfValues , $ slDflt , $ details [ 'COLUMN_NAME' ] , [ 'size' => 1 ] ) ; } return $ this -> getFieldOutputText ( $ tblName , 'varchar' , $ details , $ iar ) ; }
Returns a Year field 2 use in a form

@param array $details
@param array $iar
@return string
Returns a Year field 2 use in a form