Admin Page Framework Documentation

Packages

  • AdminPageFramework
    • Common
      • Factory
      • Form
        • FieldType
      • Utility
    • Factory
      • AdminPage
      • MetaBox
      • NetworkAdmin
      • PageMetaBox
      • PostType
      • TaxonomyField
      • TermMeta
      • UserMeta
      • Widget
    • Utility

Classes

  • AdminPageFramework_AdminNotice
  • AdminPageFramework_ArrayHandler
  • AdminPageFramework_Debug
  • AdminPageFramework_Debug_Base
  • AdminPageFramework_Debug_Log
  • AdminPageFramework_Debug_Utility
  • AdminPageFramework_RegisterClasses

Resources

  • Tutorials
  • Support
  • Reporting Issues

Class AdminPageFramework_Debug_Base

A base class of the debug class.

Mainly provides methods for debug outputs.

Package: AdminPageFramework\Common\Utility
Since: 3.8.9
Located at factory/_common/utility/debug/AdminPageFramework_Debug_Base.php

Methods summary

protected static string
# _getLegibleDetails( mixed $mValue, integer $iStringLengthLimit = 0, integer $iArrayDepthLimit = 0 )

Returns a legible value representation with value details.

Parameters

$mValue
mixed
$mValue
$iStringLengthLimit
integer
$iStringLengthLimit
$iArrayDepthLimit
integer
$iArrayDepthLimit

Returns

string

Since

3.8.9
protected static string
# _getLegible( mixed $mValue, integer $iStringLengthLimit = 0, integer $iArrayDepthLimit = 0 )

Returns a string representation of the given value with no variable details.

Parameters

$mValue
mixed
$mValue
$iStringLengthLimit
integer
$iStringLengthLimit
$iArrayDepthLimit
integer
$iArrayDepthLimit

Returns

string

Since

3.8.9
3.8.22 Added the $sStringLengthLimit and $iArrayDepthLimit parameters.
public static string
# ___getCallableName( callable $asoCallable )

Parameters

$asoCallable
callable
$asoCallable

Returns

string

Since

3.8.9
public static string
# getLegibleDetailedValue( mixed $mItem, integer $iStringLengthLimit )

Parameters

$mItem
mixed
$mItem
$iStringLengthLimit
integer
$iStringLengthLimit

Returns

string

Since

3.8.22 Renamed from _getLegibleValue().
3.8.9
3.8.32 Changed the visibility scope to public from private to be passed as a callback for outside the current class scope. And renamed from ___getLegibleDetailedValue().
public static string
# getStackTrace( integer $iSkip = 0, null|mixed $_deprecated = null )

Parameters

$iSkip
integer
$iSkip The number of skipping records. This is used when the caller does not want to include the self function/method.
$_deprecated
null|mixed
$_deprecated

Returns

string

Since

3.8.22
3.8.23 Deprecated the $oException parameter.

Magic methods summary

Properties summary

public static integer $iLegibleArrayDepthLimit
#

Since

3.8.19
public static integer $iLegibleStringCharacterLimit
#

Character length limit to truncate.

Related

Direct known subclasses

AdminPageFramework_Debug_Log

Indirect known subclasses

AdminPageFramework_Debug

If you find undocumented functionality, please report it here.

Admin Page Framework