protected function removeFieldSuffix($property)
    {
        if (($pos = strrpos($property, '_')) !== false) {
            return substr($property, 0, $pos);
        }

        return $property;
    }
protected function removeFieldSuffix($property)
    {
        if (($pos = strrpos($property, '_')) !== false) {
            return substr($property, 0, $pos);
        }

        return $property;
    }
protected function removeFieldSuffix ( $ property ) { if ( ( $ pos = strrpos ( $ property , '_' ) ) !== false ) { return substr ( $ property , 0 , $ pos ) ; } return $ property ; }
returns the clean fieldname without type-suffix

eg: title_s => title

@param string $property

@return string
returns the clean fieldname without type - suffix