EV Script Built-in Objects

Each page rendered comes pre-populated with a default set of objects. If you're ever unsure which objects are available to you, simply call the dump() function without any arguments and it'll tell you all the available objects on the page.

Account

EVML object containing basic information about your Evance account.

Address

EVML object container and formatter for customer/user address information

Array

EVML object representing an Array of variables or properties.

Boolean

EVML boolean literal contains either a TRUE or FALSE value.

Branch

EVML object containing basic company/branch information

Cart

EVML object represents a Cart, Order or Enquiry.

CartLine

EVML object represents a line within a cart, order or enquiry.

Category

EVML object represents a Category within your site's shop.

CategoryCollection

EVML object represents a collection/array of categories within your site's shop.

CategoryFilter

EVML object represents a Category filter to narrow results within your site's shop.

CategoryFilterCollection

EVML object represents a collection/array of Category Filter objects to narrow results within your site's shop.

CategoryFilterOption

EVML object represents a single option for a Category Filter to narrow results within your site's shop.

CategorySearch

EVML object may be instantiated for searches specific to Categories within your site's shop.

Collection

EVML object represents either an Array or data set of objects.

Color

EVML object representing a Color.

Contact

EVML object containing information about a contact such as an author or a customer.

Currency

EVML object containing basic information about currency of a Price or Money.

Date

EVML object representing a Date and time.

Discount

EVML object representing a promotional Discount structure - online sale, coupon or customer schema.

Dom

EVML object containing a valid XML/HTML DOM Element.

Event

EVML object represents a course/event within the booking system

EventCollection

EVML object containing a collection/array of booking system Event objects.

EventSlot

EVML object representing a itinerary slot for an Event within the booking system.

Image

EVML object representing an Image.

Layout

EVML object representing information for theme layout template files.

Locale

EVML object containing regional information such as country, language, timezone and currency.

Money

EVML object and formatter for Money in a given currency.

Number

EVML literal representation of a Number

Object

EVML literal representation of an Object.

Page

EVML object representing a Page within the CMS.

PageCollection

EVML object containing a collection/array of Page objects from the CMS.

PageSearch

EVML object allows you to build CMS Page specific queries.

PageSharer

EVML object allows you to build social media share links for various Object types.

Pagination

EVML object representation pagination information for collections containing data grids.

Postage

EVML object representation an available postage option for the Cart

Price

EVML object representing a Price. Unlike the Money object Price is tax aware.

PriceDiscount

EVML object representing the discount values between two prices.

Product

EVML object representing information about a Product in your shop.

ProductCollection

EVML object containing a collection/array of Product objects.

ProductCustomisation

EVML object represents a group of options available to customise a product in your shop.

ProductDownload

EVML object represents a Download associated with a Product in your shop.

ProductMedia

EVML object represents either a Photo, Video or 360° associated with a Product in your shop

ProductMediaFrame

EVML object represents a single photo framge of a 360° view associated with a Product in your shop

ProductPrice

EVML object represents a Price associated with a Product in your shop

ProductSearch

EVML object allows your to build Product specific queries

ProductSpecification

EVML object represents a specification entry for a product.

ProductSpecificationValue

EVML object represents the value of a specification entry for a product.

ProductVariation

EVML object represents a type of variation for a product e.g. Colour where its options represent values.

ProductVariationOption

EVML object represents a single option for a ProductVariation

RecentlyViewed

EVML object represents recently viewed pages, products or categories for the user.

RegExp

EVML object for matching a String against a regular expression pattern

Request

EVML object represents the current HTTP request to the page.

Review

EVML object represents a consumer review, generally of a Product

ReviewCollection

EVML object containing a collection/array of Review objects

Search

EVML object allows you to build generic searches across pages, products and categories.

SearchCollection

EVML object contains a collection/array of SearchResult objects

SearchResult

EVML object represents a result from the generic Search algorithm

String

EVML literal object represents a String of text

Tag

EVML object represents Tag - generally used with CMS Pages

Template

EVML object represents the properties and settings defined for a website template

Url

EVML object represents a URL - generally an internal URL to your website

Website

EVML object represents information about your website