private function prepareKeywords($keywords)
    {
        if ($keywords === null)
            return null;

        if (is_array($keywords))
            $keywords = implode(', ', $keywords);

        return strtolower(strip_tags($keywords));
    }
private function prepareKeywords($keywords)
    {
        if ($keywords === null)
            return null;

        if (is_array($keywords))
            $keywords = implode(', ', $keywords);

        return strtolower(strip_tags($keywords));
    }
private function prepareKeywords ( $ keywords ) { if ( $ keywords === null ) return null ; if ( is_array ( $ keywords ) ) $ keywords = implode ( ', ' , $ keywords ) ; return strtolower ( strip_tags ( $ keywords ) ) ; }
Prepares keywords and converts the array to a comma separated string if required.
@return string Comma separated keywords.
Prepares keywords and converts the array to a comma separated string if required .