CMC for PHP
  • Namespace
  • Class
  • Tree

Namespaces

  • cmc
    • core
      • ui
    • db
      • mysqli
    • error
    • ui
      • widgets
  • PHP

Classes

  • fatalErrors
  • runtimeErrors

CMC for PHP is a web framework for PHP.
Copyright (c) 2014 by Calmarsoft company http://calmarsoft.com (FRANCE). All rights reserved.
Project information available here.

Class fatalErrors

tools for handling fatal errors detected in the framework

Namespace: cmc\error
Copyright: Copyright (c) Calmarsoft company (FRANCE) (http://calmarsoft.com)
License: GNU General Public License version 3
Version: 0.9
Link: CMC Project
Located at error/fatalErrors.php

Methods summary

public static
# callstack( mixed $e, mixed $popcnt = 1 )
public static
# trigger( cmc\sess $sess, string|integer $errorId, mixed $stack = 1 )

triggers a fatal error

triggers a fatal error

the error is expected to be present in translation strings with fatal$errorId key. The error parameters are referenced by %1, %2 and so on in the error text

Parameters

$sess
cmc\sess
$sess
$errorId
string|integer
$errorId
$stack
mixed
$stack if >0 the call stack is shown, and pops the specified number at top
public static
# triggerException( mixed $sess, mixed $e )

Exception as fatal error...

Exception as fatal error...

public static
# setContinue( )

defines whether to continue or exit() when a fatal error is trigered useful when exit() is already in motion

defines whether to continue or exit() when a fatal error is trigered useful when exit() is already in motion

Magic methods summary

Constants summary

integer noValidView 1
#

Configuration error: no valid view found for /view/ Hint: check default view in config.php

Configuration error: no valid view found for /view/ Hint: check default view in config.php

Properties summary

public static boolean $_continue
#
CMC for PHP API documentation generated by ApiGen 2.8.0