protected function addEnumMethods(&$script)
    {
        foreach ($this->getTable()->getColumns() as $col) {
            /* @var $col Column */
            if ($col->isEnumType()) {
                $script .= "
    /**
     * Gets the SQL value for " . $col->getPhpName() . " ENUM value
     *
     * @param  string \$enumVal ENUM value to get SQL value for
     * @return int SQL value
     */
    public static function get{$col->getPhpName()}SqlValue(\$enumVal)
    {
        return {$this->getPeerClassname()}::getSqlValueForEnum({$this->getColumnConstant($col)}, \$enumVal);
    }
";
            }
        }
    }