src/Common/Model/Base.php
public function getColumn($sColumn, $sDefault = null)
    {
        $sColumn = ucfirst(trim($sColumn));
        if (property_exists($this, 'table' . $sColumn . 'Column')) {
            return $this->{'table' . $sColumn . 'Column'};
        }
        return $sDefault;
    }
public function getColumn($sColumn, $sDefault = null)
    {
        $sColumn = ucfirst(trim($sColumn));
        if (property_exists($this, 'table' . $sColumn . 'Column')) {
            return $this->{'table' . $sColumn . 'Column'};
        }
        return $sDefault;
    }
public function getColumn ( $ sColumn , $ sDefault = null ) { $ sColumn = ucfirst ( trim ( $ sColumn ) ) ; if ( property_exists ( $ this , 'table' . $ sColumn . 'Column' ) ) { return $ this -> { 'table' . $ sColumn . 'Column' } ; } return $ sDefault ; }
Returns the column name for specific columns of interest

@param string      $sColumn  The column to query
@param string|null $sDefault The default value if not defined

@return string
Returns the column name for specific columns of interest