protected function removeSuffix($name)
    {

        $currSuffix = $this->getString($name, $this->suffix);

        return str_replace($currSuffix, '', $name);
    }
protected function removeSuffix($name)
    {

        $currSuffix = $this->getString($name, $this->suffix);

        return str_replace($currSuffix, '', $name);
    }
protected function removeSuffix ( $ name ) { $ currSuffix = $ this -> getString ( $ name , $ this -> suffix ) ; return str_replace ( $ currSuffix , '' , $ name ) ; }
Remove the suffix of each std class properties

eg. productImagesById to productImages

@param $name
@return mixed
Remove the suffix of each std class properties