private function getTimestamping($dtl)
    {
        $fieldValue = $this->getFieldValue($dtl);
        $inM        = $this->setStringIntoTag($fieldValue, 'span');
        if (in_array($fieldValue, ['', 'CURRENT_TIMESTAMP', 'NULL'])) {
            $mCN = [
                'InsertDateTime'        => 'data/timpul ad. informatiei',
                'ModificationDateTime'  => 'data/timpul modificarii inf.',
                'modification_datetime' => 'data/timpul modificarii inf.',
            ];
            if (array_key_exists($dtl['COLUMN_NAME'], $mCN)) {
                $inM = $this->setStringIntoTag($mCN[$dtl['COLUMN_NAME']], 'span', ['style' => 'font-style:italic;']);
            }
        }
        $lbl = '<span class="fake_label">' . $this->getFieldNameForDisplay($dtl) . '</span>';
        return ['label' => $lbl, 'input' => $inM];
    }
private function getTimestamping($dtl)
    {
        $fieldValue = $this->getFieldValue($dtl);
        $inM        = $this->setStringIntoTag($fieldValue, 'span');
        if (in_array($fieldValue, ['', 'CURRENT_TIMESTAMP', 'NULL'])) {
            $mCN = [
                'InsertDateTime'        => 'data/timpul ad. informatiei',
                'ModificationDateTime'  => 'data/timpul modificarii inf.',
                'modification_datetime' => 'data/timpul modificarii inf.',
            ];
            if (array_key_exists($dtl['COLUMN_NAME'], $mCN)) {
                $inM = $this->setStringIntoTag($mCN[$dtl['COLUMN_NAME']], 'span', ['style' => 'font-style:italic;']);
            }
        }
        $lbl = '<span class="fake_label">' . $this->getFieldNameForDisplay($dtl) . '</span>';
        return ['label' => $lbl, 'input' => $inM];
    }
private function getTimestamping ( $ dtl ) { $ fieldValue = $ this -> getFieldValue ( $ dtl ) ; $ inM = $ this -> setStringIntoTag ( $ fieldValue , 'span' ) ; if ( in_array ( $ fieldValue , [ '' , 'CURRENT_TIMESTAMP' , 'NULL' ] ) ) { $ mCN = [ 'InsertDateTime' => 'data/timpul ad. informatiei' , 'ModificationDateTime' => 'data/timpul modificarii inf.' , 'modification_datetime' => 'data/timpul modificarii inf.' , ] ; if ( array_key_exists ( $ dtl [ 'COLUMN_NAME' ] , $ mCN ) ) { $ inM = $ this -> setStringIntoTag ( $ mCN [ $ dtl [ 'COLUMN_NAME' ] ] , 'span' , [ 'style' => 'font-style:italic;' ] ) ; } } $ lbl = '<span class="fake_label">' . $ this -> getFieldNameForDisplay ( $ dtl ) . '</span>' ; return [ 'label' => $ lbl , 'input' => $ inM ] ; }
Returns a timestamp field value

@param array $dtl
@return array
Returns a timestamp field value