Overview

Namespaces

  • Apptus
    • ESales
      • Connector
        • Report
        • Time
    • Util
      • Cache
  • PHP

Classes

  • Ad
  • Ads
  • ArgMap
  • Attribute
  • AttributeValidation
  • Authorization
  • Category
  • CategoryData
  • CategoryList
  • CategoryNode
  • CloudConnector
  • ClusterUriIterator
  • Completion
  • Completions
  • CompressionMode
  • Connector
  • ConnectorSettingsBuilder
  • Correction
  • Corrections
  • Count
  • CssClass
  • CustomerKeyAuthentication
  • DynamicPage
  • EventDataJobResult
  • FacetList
  • FacetRange
  • Facets
  • Filter
  • FilterBuilder
  • ImportData
  • JavaScriptNotifier
  • MessageAuthentication
  • OnPremConnector
  • Order
  • OrderLine
  • Panel
  • PanelContent
  • Path
  • Phrase
  • Phrases
  • Product
  • Products
  • Reporter
  • ResultType
  • Session
  • Status
  • Subpanel
  • Value
  • Values
  • Variant

Interfaces

  • Facet
  • Result

Exceptions

  • BusyClusterException
  • ClusterUnavailableException
  • DuplicateSubpanelException
  • FetchClusterException
  • IOException
  • MalformedJsonException
  • MalformedURLException
  • MissingSubpanelException
  • PanelException
  • ParseException
  • ReportException
  • RequestFailedException
  • ResultTypeException
  • Overview
  • Namespace
  • Class
  • Tree

Class CssClass

Class used to generate the CSS classes that are required to use automatic notifications or site overlay for web pages.

The class has static methods that returns string representations for the CSS classes given a ticket.

Namespace: Apptus\ESales\Connector
Located at Connector/CssClass.php
Methods summary
public static string
# forSiteOverlay( string $ticket )

Converts a ticket to CSS classes needed to use site overlay.

Converts a ticket to CSS classes needed to use site overlay.

Parameters

$ticket
ticket for the eSales panel.

Returns

string
The CSS classes to use for an element that should be displayed in eSales Managers Site tab.

Throws

InvalidArgumentException
public static string
# forClickNotification( string $ticket )

Converts a ticket to CSS classes for automatic click notifications.

Converts a ticket to CSS classes for automatic click notifications.

Parameters

$ticket
ticket for the eSales element.

Returns

string
The CSS classes to use for automatic click notifications.

Throws

InvalidArgumentException
public static string
# forAddingToCartNotification( string $ticket )

Converts a ticket to CSS classes for automatic adding to cart notifications.

Converts a ticket to CSS classes for automatic adding to cart notifications.

Parameters

$ticket
ticket for the eSales product.

Returns

string
The CSS classes to use for automatic adding to cart notifications.

Throws

InvalidArgumentException
public static string
# forClickNotificationAndSiteOverlay( string $ticket )

Converts a ticket to CSS classes for automatic click notifications and site overlay.

Converts a ticket to CSS classes for automatic click notifications and site overlay.

Parameters

$ticket
ticket for the eSales element.

Returns

string

The CSS classes to use for an element that should be displayed in eSales Managers Site tab. The element will also support automatic click notifications.

Throws

InvalidArgumentException
Apptus ESales Connector PHP API documentation generated by ApiGen