Class MatukioHelperUtilsBasic

since 2.0.0
package MatukioEvents

 Methods

Expand the Joomla pathway for breadcrumbs (sem_f019)

expandPathway(string $text, string $link) : void
Static
since 7.0.0

Parameters

$text

string

Text

$link

string

Link

Gets the available image

getAvailableImage(object $event, integer $booked) : string
Static

Parameters

$event

object
  • The event

$booked

integer
  • The Number of bookings

Returns

string

Gets the rating image

getBRatingImage(object $booking) : string
Static

Parameters

$booking

object
  • The booking

Returns

string

Gets the bookable image (used in backend and frontend)

getBookableImage(object $event) : string
Static

Parameters

$event

object
  • The event

Returns

string

Gets the status img for the booking

getBookingStatusText(object $booking) : string
Static

Parameters

$booking

object
  • The booking

Returns

string

Gets the cancel image

getCancelBookingImage(object $booking, boolean $frontend = false) : string
Static

Parameters

$booking

object
  • The booking

$frontend

boolean
  • The frontend

Returns

string

Gets the cancel / uncancel image

getCancelImageRecurring(object $rec, integer $i = 0) : string
Static

Parameters

$rec

object
  • The recurring event

$i

integer
  • The current pos

Returns

string

Gets the certificate image

getCertificateImage(object $booking, boolean $frontend = false) : string
Static

Parameters

$booking

object
  • The booking

$frontend

boolean
  • Are we in the frontend

Returns

string

getComponentImagePath()

getComponentImagePath() 
Static

Gets the powered by

getCopyright(boolean $frontend = true) : string
Static

Parameters

$frontend

boolean
  • Are we in the frontend?

Returns

string

HTML Heaer sem_f031

getHTMLHeader() : string
Static
deprecated Remove in further version

Returns

string

Gets the invoice image

getInvoiceImage(object $booking, object $event = null) : string
Static

Parameters

$booking

object
  • The booking

$event

object
  • The event (opt)

Returns

string

Generates the menu

getMenu() : array
Static

Returns

array

Gets the paid object

getPaidStatus(object $booking, object $event = null, boolean $frontend = false) : string
Static

Parameters

$booking

object
  • The booking

$event

object
  • The event

$frontend

boolean
  • Are we in the frontend?

Returns

string

Gets the pending / active image

getPendingActivateImage(object $booking, boolean $frontend = true) : string
Static

Parameters

$booking

object
  • The booking

$frontend

boolean
  • The frontend

Returns

string

Gets the publish / unpublish image

getPublishedImage(object $event, integer $i) : string
Static

Parameters

$event

object
  • The event

$i

integer
  • The current pos

Returns

string

Gets the publish / unpublish image

getPublishedImageRecurring(object $rec, integer $i = 0) : string
Static

Parameters

$rec

object
  • The recurring event

$i

integer
  • The current pos

Returns

string

Gets the rating image

getRatingImage(object $event) : string
Static

Parameters

$event

object
  • The event

Returns

string

sem_f004()

getSitePath() : mixed
Static

Returns

mixed

Gets the status image (used in backend and frontend)

getStatusText(object $event) : string
Static

Parameters

$event

object
  • The event

Returns

string

Returns the userTime zone if the user has set one, or the global config one

getTimeZone() : mixed
Static

Returns

mixed

Loads Hopscotch demo

loadHopscotch() : void
Static

Login the user, old method used in some controllers

loginUser() : void
Static
since 7.0.0

Parses the output of the descriptions sem_f065

parseOutput(string $text, string $status) : mixed
Static

Parameters

$text

string
  • The text

$status

string
  • The status

Returns

mixed