InsiteApps\ORM\DataObjectExtension
Synopsis
class DataObjectExtension
extends DataExtension
{
- // members
- private static array $casting = ;
- // methods
- public void getRawClassName()
- public void GoogleAPIKey()
- public void Summary()
- 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 string DataObjectLinkingModeByID()
- public string DataObjectLinkingModeByClassName()
- public string getShowSearchResultsIn()
- public string getShowSearchResultsLinkIn()
- public void getCountryCodeFromRequest()
- public void getReviewRatingFromRequest()
- public void getPageByClassName()
- public void applyRatingQueryFilter()
- 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 bool|int isAdmin()
- public void isSystemUser()
- public void writeToStateAndPublish()
- public void setRenderPageTemplate()
- public void NoLogo()
- public void NoPhoto()
- public static void truncate()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $casting
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
- GoogleAPIKey()
- 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
- Summary()
- TimedCacheKey()
- URLCacheKey()
- URLEncode()
- animate()
- applyRatingQueryFilter()
- getCountryCodeFromRequest()
- getCountryName() — Returns the country name (not the 2 character code).
- getMenu() — Returns a fixed navigation menu of the given level.
- getPageByClassName()
- getRawClassName()
- getReviewRatingFromRequest()
- getShowSearchResultsIn() — Show Search Results IN
- getShowSearchResultsLinkIn() — Get Show Search Results Link In
- isAdmin() — Returns true if this user is an administrator.
- 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.
- isSystemUser()
- setRenderPageTemplate() — setRenderPageTemplate
- truncate()
- writeToStateAndPublish() — writeToStateAndPublish Data Object Write for SiteTree object in the frontend