Webylon 3.2 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • 1c
    • exchange
      • catalog
  • auth
  • Booking
  • building
    • company
  • cart
    • shipping
    • steppedcheckout
  • Catalog
    • monument
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • BuildTask
  • CliDebugView
  • ConvertFrom26Task
  • Debug
  • DebugView
  • DeleteUnusedCustomerFilesTask
  • DevelopmentAdmin
  • FillLinkTrackingTask
  • FillOldLogDataTask
  • FindBadLinksTask
  • ImportTestContentTask
  • MigrationTask
  • MySQLDatabaseConfigurationHelper
  • PhotoGalleryMigrationTask
  • SapphireREPL
  • SS_Backtrace
  • SS_Cli
  • SS_Log
  • SS_LogEmailWriter
  • SS_LogErrorEmailFormatter
  • SS_LogErrorFileFormatter
  • SS_LogFileWriter
  • SS_ZendLog
  • TaskRunner

Class SS_Backtrace

Package: sapphire\dev
Located at sapphire/dev/Backtrace.php

Methods summary

public static array
# filtered_backtrace( null|array $ignoredFunctions = null )

Return debug_backtrace() results with functions filtered specific to the debugging system, and not the trace.

Return debug_backtrace() results with functions filtered specific to the debugging system, and not the trace.

Parameters

$ignoredFunctions
null|array $ignoredFunctions If an array, filter these functions out of the trace

Returns

array
array
public static array
# filter_backtrace( array $bt, null|array $ignoredFunctions = null )

Filter a backtrace so that it doesn't show the calls to the debugging system, which is useless information.

Filter a backtrace so that it doesn't show the calls to the debugging system, which is useless information.

Parameters

$bt
array $bt Backtrace to filter
$ignoredFunctions
null|array $ignoredFunctions List of extra functions to filter out

Returns

array
array
public static unknown
# backtrace( unknown_type $returnVal = false, unknown_type $ignoreAjax = false, mixed $ignoredFunctions = null )

Render or return a backtrace from the given scope.

Render or return a backtrace from the given scope.

Parameters

$returnVal
unknown_type $returnVal
$ignoreAjax
unknown_type $ignoreAjax
$ignoredFunctions

Returns

unknown
unknown
public static
# any_to_string( mixed $arg )
public static
# full_func_name( mixed $item, mixed $showArgs = false )

Return the full function name. If showArgs is set to true, a string representation of the arguments will be shown

Return the full function name. If showArgs is set to true, a string representation of the arguments will be shown

public static string
# get_rendered_backtrace( string $bt, boolean $plainText = false, array $ignoredFunctions = null )

Render a backtrace array into an appropriate plain-text or HTML string.

Render a backtrace array into an appropriate plain-text or HTML string.

Parameters

$bt
string $bt The trace array, as returned by debug_backtrace() or Exception::getTrace()
$plainText
boolean $plainText Set to false for HTML output, or true for plain-text output
$ignoredFunctions
array List of functions that should be ignored. If not set, a default is provided

Returns

string
The rendered backtrace

Magic methods summary

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.2 API Docs API documentation generated by ApiGen 2.8.0