Ejemplo n.º 1
0
 /// <summary>
 /// Determines if a tab is simply a placeholder in the navigation
 /// </summary>
 public override bool IsPlaceholder(int pageID)
 {
     return
         (bool.Parse(
              UrlBuilderHelper.PageSpecificProperty(pageID, UrlBuilderHelper.IsPlaceHolderID, _cacheMinutes).
              ToString()));
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns the page name that has been specified.
        /// </summary>
        public override string UrlPageName(int pageID)
        {
            string _urlPageName =
                UrlBuilderHelper.PageSpecificProperty(pageID, UrlBuilderHelper.PageNameID, _cacheMinutes).ToString();

            // TODO: URL Firendly names need to be fixed
            if (_urlPageName.Length == 0)
            {
                _urlPageName = _friendlyPageName;
            }

            return(_urlPageName);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Returns any keywords which are meant to be placed in the url
 /// </summary>
 public override string UrlKeyword(int pageID)
 {
     return
         (UrlBuilderHelper.PageSpecificProperty(pageID, UrlBuilderHelper.UrlKeywordsID, _cacheMinutes).ToString());
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Returns the URL for a tab that is a link only.
 /// </summary>
 public override string TabLink(int pageID)
 {
     return(UrlBuilderHelper.PageSpecificProperty(pageID, UrlBuilderHelper.TabLinkID, _cacheMinutes));
 }