Skip to content

Latest commit

 

History

History
151 lines (74 loc) · 3.58 KB

class.PrestaShopModuleExceptionCore.md

File metadata and controls

151 lines (74 loc) · 3.58 KB

Class PrestaShopModuleExceptionCore

Contents

Methods

Methods

displayArgsDebug

mixed PrestaShopExceptionCore::displayArgsDebug(array $args, string $id)

Display arguments list of traced function

Arguments

  • $args array - List of arguments
  • $id string - ID of argument

displayFileDebug

mixed PrestaShopExceptionCore::displayFileDebug(string $file, integer $line, string $id)

Display lines around current line

Arguments

  • $file string
  • $line integer
  • $id string

displayMessage

mixed PrestaShopExceptionCore::displayMessage()

This method acts like an error handler, if dev mode is on, display the error else use a better silent way

getExentedMessage

mixed PrestaShopExceptionCore::getExentedMessage($html)

Arguments

  • $html mixed

getExtendedMessage

string PrestaShopExceptionCore::getExtendedMessage($html)

Return the content of the Exception

Arguments

  • $html mixed

logError

mixed PrestaShopExceptionCore::logError()

Log the error on the disk