\DataObjectExtension
Synopsis
class DataObjectExtension
extends DataExtension
{
- // methods
- public void animate()
- public void Lowercase()
- public ArrayList getMenu()
- public void Menu()
- public string LinkingMode()
- public bool isCurrent()
- public bool isSection()
- public void Level()
- public array; makeCategoriesAndSubcategriesFromThis()
- public Datalist checkIfCategoryHasAnyItems()
- public void FriendlyClassName()
- public string DataObjectLinkingModeByID()
- public string DataObjectLinkingModeByClassName()
- public string getShowSearchResultsIn()
- public string getShowSearchResultsLinkIn()
- public void getCountryCodeFromRequest()
- public void applyCountryCodeQueryFilter()
- public void getReviewRatingFromRequest()
- public void getPageByClassName()
- public void applyRatingQueryFilter()
- public array getThisCategoryAndItsChildren()
- public void SidebarTags()
- public void getFeaturedObjectListings()
- public void getFeaturedObjectListingsCachekey()
- public void getLastestObjectListings()
- public void getLastestObjectListingsCacheKey()
- public void getUpcomingObjectListing()
- public void getRecentlyConcludedObjectListing()
- public void doesAnyItemOfThisClassExist()
- public void getCustomEventListFromFunction()
- public void URLEncode()
- public void URLCacheKey()
- public void TimedCacheKey()
- public string getCountryName()
- public Boolean IsOwner()
- public void isLive()
- public void isDev()
- public void IfDevDeleteElseDontDelete()
- public Returns isSiteAdmin()
- public void writeToStateAndPublish()
- public void setRenderPageTemplate()
- public void NoLogo()
- public void NoPhoto()
Hierarchy
Extends
- DataExtension
Methods
public
- DataObjectLinkingModeByClassName() — Return "link", "current" or section depending on if this page is the current page if the current classname corresponds to it
- DataObjectLinkingModeByID() — Return "link", "current" or section depending on if the current requesu ID parameter
- FriendlyClassName()
- IfDevDeleteElseDontDelete()
- IsOwner() — Returns true if the current user is an admin, or is the owner of this project item
- Level() — Returns the page in the current page stack of the given level.
- LinkingMode() — Return "link", "current" or section depending on if this page is the current page, or not on the current page but in the current section.
- Lowercase()
- Menu()
- NoLogo() — getNoLogo This is the default placeholder image for items without a logo image uploaded with them
- NoPhoto() — getNoImage This is the default placeholder image for items without an image uploaded with them
- SidebarTags() — Get Blog Tags
- TimedCacheKey()
- URLCacheKey()
- URLEncode()
- animate()
- applyCountryCodeQueryFilter()
- applyRatingQueryFilter()
- checkIfCategoryHasAnyItems() — checkIfCategoryHasAnyItems Check if this category has any children based on class name (services, products etc)
- doesAnyItemOfThisClassExist()
- getCountryCodeFromRequest()
- getCountryName() — Returns the country name (not the 2 character code).
- getCustomEventListFromFunction() — getCustomEventListFromFunction This function provides an alias to call getRecentlyConcludedEvents, getFeaturedObjectListings and getLastestObjectListings for events on the events page
- getFeaturedObjectListings()
- getFeaturedObjectListingsCachekey()
- getLastestObjectListings()
- getLastestObjectListingsCacheKey()
- getMenu() — Returns a fixed navigation menu of the given level.
- getPageByClassName()
- getRecentlyConcludedObjectListing()
- getReviewRatingFromRequest()
- getShowSearchResultsIn() — Show Search Results IN
- getShowSearchResultsLinkIn() — Get Show Search Results Link In
- getThisCategoryAndItsChildren() — Get This Category And Its Children The categories under this category first (becuase categories can be nested)
- getUpcomingObjectListing()
- isCurrent() — Returns TRUE if this is the currently active page that is being used to handle a request.
- isDev()
- isLive()
- isSection() — Check if this page is in the currently active section (e.g. it is either current or one of it's children is currently being viewed.
- isSiteAdmin() — Returns true if this user is an administrator.
- makeCategoriesAndSubcategriesFromThis() — Make categories and Subcategories from this
- setRenderPageTemplate() — setRenderPageTemplate
- writeToStateAndPublish() — writeToStateAndPublish Data Object Write for SiteTree object in the frontend