Ejemplo n.º 1
0
        public Int32 get_count_by_search(string keywords = "", Int32 languageId = 0)
        {
            // Create the string array
            string[] wordArray = new string[] { "" };

            // Recreate the array if keywords is different from null
            if (keywords != null)
            {
                wordArray = keywords.Split(' ');
            }

            // Get the count
            Int32 count = StaticText.GetCountBySearch(wordArray, languageId);

            // Return the count
            return(count);
        } // End of the get_count_by_search method