Class MatukioHelperRendering
Todo move most things to JLayout..
| since | 5.0.0 |
|---|---|
| package | MatukioEvents |
getAcademyLocation(object $event, object $location) : string
objectobjectstringThe html for the templategetAdditionalDatesDialog(object $event, boolean $small = false) : string
objectbooleanstring- The htmlgetBetweenFeeText(object $event) : string
objectstringgetBookingButton(object $event, \JUser $user, integer $nrbooked, boolean $isbooked, string $class= "btn btn-primary", $isWaitlist= false) : string
object\JUserintegerbooleanstringstring- The booking buttongetBookingDetailsButton(object $event, \JUser $user) : string
object\JUserstring- the html markup for the btngetCaptcha() : string
stringgetCategoryButtons(array $categories, string $filterCategories) : string
arraystringstring- The htmlgetCertificateDialog() : string
string- the print dialoggetContactDialog(object $event, \JUser $user, object $booking= null, integer $organizerId= 0, boolean $participants= false) : string
object\JUserobjectintegerboolean\Exception |
on missing recaptcha |
|---|
string- The HtmlgetCustomFields(object $event, array $customFieldObj) : string
objectarraystringgetDatesArray($old = true) : array
arraygetEventDate(object $event, boolean $small= false, boolean $additionalDates= false, boolean $multiLine= false) : string
objectbooleanbooleanbooleanstringgetEventImage(object $event, boolean $detail = false) : string
objectbooleanstringgetEventLocation(object $event, array $locations) : string
objectarray\Exception |
(if location does not exist) |
|---|
stringgetEventMapHeader(string $gmaploc, boolean $eventpage= false, string $position= null, boolean $scrollwheel= true) : string
stringbooleanstringbooleanTODO move to js file
stringgetEventSingleLocationLink(object $event, object $location) : string
objectobjectstringgetEventStatusText(object $event, integer $nrbooked, \JUser $user, boolean $isbooked) : string
objectinteger\JUserbooleanstring- TextgetEventTicketsTable(object $event, object $bookingInformation) : string
TODO multiple seats and simple fee need move to JLayout too
objectobjectstringgetEventsMap(object $events, array $locations) : string
TODO update to bounds!
objectarray\Exception |
(if location does not exist) |
|---|
stringgetFeeText(object $event) : string
objectThe event
stringThe fee textgetFeesArray() : array
arraygetFilesList(object $event, \JUser $user, array $files, boolean $isBooked, array $bookings) : string
object\JUserarraybooleanarraystringgetFormatedDistance(double $distance, boolean $isMiles = true) : string
| since | 7.0.0 |
|---|
doubleThe distance
booleanIs it in miles
stringgetGmapLocation(object $event, object $locations = null) : object
objectobjectobject- stdclass with gmaploc, lat, lnggetLimitSelect(integer $active) : mixed
integermixedgetLocationButtons(array $locations, string $filterLocations) : string
arraystringstring- The htmlgetLogin($pwReset= true, $usernameReset= true, $register= true) : string
stringgetNaviDates(integer $active) : string
integerstringgetNaviFees(integer $active) : string
integerstringgetNotBookableText(\JUser $user, object $event, object $booked, boolean $isBooked) : string
\JUserobjectobjectbooleanstring- text onlygetOrganizer(object $event, array $organizers) : string
objectarraystringgetOrganizerButtons(array $organizers, string $filterOrganizers) : string
arraystringstring- The htmlgetPagination(integer $total, integer $limit, integer $limitstart) : string
integerintegerintegerstring- The pagination htmlgetParticipantsViewParticipantsButton(object $event, \JUser $user, boolean $isbooked, object $bookingInformation) : string
objectThe event
\JUserThe user
booleanThe status of the user
objectInformations about the booking status (how many etc.)
string- The html for the buttongetPrintDialog($srcbutton = '.btn-print') : void
getRatingDialog() : string
string- the print dialoggetSearch(string $current_search) : string
stringstringgetSocialMedia(object $event, string $lat= '', string $lng= '', object $location= null, object $organizer= null, $layout= "social.share") : string
objectstringstringobjectobjectstring- The social mediagetTagFormField(string $value) : string
stringThe value for the tags field
stringThe html of the tags form fieldgetViewBookingsButton(object $event, \JUser $user, \stdClass $booked) : string
object\JUser\stdClassstring- The participants buttongetXMLFormField(string $name, string $type, string $value, string $class= "form-control", string $directory= "", $format= '') : string
stringstringstringstringstringThe directory
stringisBookable(object $event, \JUser $user, integer $nrbooked, boolean $isbooked) : boolean
object\JUserintegerbooleanboolean- True if bookable, false if notrenderModule(string $position) : void
string$event_tax : object
null