Overview

Namespaces

  • Nethgui
    • Adapter
    • Authorization
    • Component
    • Controller
      • Collection
      • Table
    • Exception
    • Log
    • Model
    • Module
      • Help
      • Notification
    • Renderer
    • Serializer
    • System
    • Test
      • Tool
      • Unit
        • Nethgui
          • Adapter
            • ParameterSet
          • Authorization
          • Log
          • Module
            • Notification
          • Renderer
          • Serializer
          • System
          • Utility
          • View
        • Test
          • Tool
    • Utility
    • View
    • Widget
      • Xhtml
  • None
  • Test
    • Tool

Classes

  • ArrayDisposable
  • HttpResponse
  • NullSession
  • PhpWrapper

Interfaces

  • DisposableInterface
  • PhpConsumerInterface
  • SessionConsumerInterface
  • SessionInterface
  • Overview
  • Namespace
  • Class
  • Deprecated

Class PhpWrapper

Wraps global PHP functions and variables.

Refs #95

Nethgui\Utility\PhpWrapper implements Nethgui\Log\LogConsumerInterface

Direct known subclasses

Nethgui\Test\Unit\Nethgui\System\PhpWrapperExec, Nethgui\Test\Unit\Nethgui\View\TranslatorTestPhpWrapper
Namespace: Nethgui\Utility
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Utility/PhpWrapper.php
Methods summary
public
# __construct( $identifier = __CLASS__ )
public
# class_exists( $className )
public
# __call( $name, $arguments )
protected
# wrapBegin( & $messages, $forceErrno = 0 )
protected
# wrapEnd( $messages )
public
# exec( $command, & $output, & $retval )
public
# fsockopen( $host, $port = -1, & $errno = NULL, & $errstr = NULL )
public
# phpInclude( $filePath, $vars )
public
# phpExit( $code )
public
# phpCreateInstance( $className, $constructorArgs )
public
# phpReadGlobalVariable( $varName, $varIndex = NULL )
public
# phpWriteGlobalVariable( $value, $varName, $varIndex = NULL )
public
# file_get_contents_extended( $filePath, & $meta = NULL )
public Nethgui\Log\LogInterface
# getLog( )

The log attached to the interface implementor

The log attached to the interface implementor

Returns

Nethgui\Log\LogInterface

Api

Implementation of

Nethgui\Log\LogConsumerInterface::getLog()
public Nethgui\Log\LogConsumerInterface
# setLog( Nethgui\Log\LogInterface $log )

Change the log attached to the interface implementor

Change the log attached to the interface implementor

Parameters

$log

Returns

Nethgui\Log\LogConsumerInterface

Api

Implementation of

Nethgui\Log\LogConsumerInterface::setLog()
Nethgui Framework API documentation generated by ApiGen