Skip to content

Latest commit

 

History

History
115 lines (58 loc) · 1.96 KB

class.HelpAccessCore.md

File metadata and controls

115 lines (58 loc) · 1.96 KB

Class HelpAccessCore

Contents

Constants

Methods

Constants

URL

const URL = 'http://help.prestashop.com'

Methods

getVersion

mixed HelpAccessCore::getVersion($label)

Returns the last version seen of a help page seen by the user

Arguments

  • $label mixed

retrieveInfos

array HelpAccessCore::retrieveInfos($label, $iso_lang, $country, $version)

Fetch information from the help website in order to know:

  • if the help page exists
  • his version
  • the associated tooltip

Arguments

  • $label mixed
  • $iso_lang mixed
  • $country mixed
  • $version mixed

trackClick

mixed HelpAccessCore::trackClick($label, $version)

Store in the local database that the user has seen a specific help page

Arguments

  • $label mixed
  • $version mixed