LazyRecord\Inflector::tableize PHP Method

tableize() public method

Returns corresponding table name for given model $className. ("people" for the model class "Person").
public tableize ( string $className ) : string
$className string Name of class to get database table name for
return string Name of the database table for given class
    public function tableize($className)
    {
        $_this =& self::getInstance();
        if (!($result = $_this->_cache(__FUNCTION__, $className))) {
            $result = self::pluralize(self::underscore($className));
            $_this->_cache(__FUNCTION__, $className, $result);
        }
        return $result;
    }