Overview

Namespaces

  • MOC
    • Adapter
    • Core
      • Changelog
      • Depending
      • Drive
        • Directory
        • File
      • Error
        • Register
        • Type
      • Journal
      • Proxy
      • Template
      • Xml
    • Extension
      • Excel
      • Flot
      • Mail
      • Pdf
      • Word
      • Xml
      • YUICompressor
      • Zip
    • Generic
      • Common
      • Device
        • Extension
        • Widget
    • Module
      • Database
        • Driver
      • Drive
      • Image
        • Font
      • Installer
      • Network
        • Ftp
          • Directory
          • File
          • Transport
        • Http
        • ParcelTracker
          • Carrier
      • Office
        • Chart
          • Axis
        • Document
          • Excel
            • Cell
              • Format
              • Style
                • Border
                  • Bottom
                  • Left
                  • Right
                  • Top
                • Font
            • Close
            • Page
            • Worksheet
          • Pdf
            • Close
            • Font
            • Page
              • Margin
              • Position
            • Text
          • Xml
            • Close
        • Image
        • Mail
          • Address
          • Content
      • Packer
        • Yui
        • Zip
      • Template
    • Plugin
      • Gateway
      • Repository
      • Shared
  • PHP

Classes

  • Cache
  • Changelog
  • Depending
  • Drive
  • Encoding
  • Error
  • Journal
  • Proxy
  • Session
  • Template
  • Version
  • Xml
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class Proxy

MOC\Core\Proxy implements MOC\Generic\Device\Core
Namespace: MOC\Core
Located at Core/Proxy.php
Methods summary
public static MOC\Core\Proxy
# InterfaceInstance( )

Get Singleton/Instance

Get Singleton/Instance

Returns

MOC\Core\Proxy

Implementation of

MOC\Generic\Common\Instance::InterfaceInstance()
public static MOC\Core\Changelog
# InterfaceChangelog( )

Get Changelog

Get Changelog

Returns

MOC\Core\Changelog

Implementation of

MOC\Generic\Common\Changelog::InterfaceChangelog()
public static MOC\Core\Depending
# InterfaceDepending( )

Get Dependencies

Get Dependencies

Returns

MOC\Core\Depending

Implementation of

MOC\Generic\Common\Depending::InterfaceDepending()
public string
# Url( MOC\Core\Drive\File $File )

Parameters

$File
MOC\Core\Drive\File
$File

Returns

string
public MOC\Core\Proxy
# Open( MOC\Core\Proxy\Server $Server, MOC\Core\Proxy\Credentials $Credentials = null )

Parameters

$Server
MOC\Core\Proxy\Server
$Server
$Credentials
MOC\Core\Proxy\Credentials
$Credentials

Returns

MOC\Core\Proxy
public MOC\Core\Proxy
# Close( )

Returns

MOC\Core\Proxy
public MOC\Core\Proxy\Server
# Server( )

Returns

MOC\Core\Proxy\Server
public MOC\Core\Proxy\Credentials
# Credentials( )

Returns

MOC\Core\Proxy\Credentials
public null|string
# GetFile( string $Url, boolean $Status = false )

Parameters

$Url
string
$Url
$Status
boolean
$Status

Returns

null|string

Throws

Exception
public string
# GetContent( string $Url )

Parameters

$Url
string
$Url

Returns

string
private boolean|integer
# IsProxy( )

Returns

boolean|integer
private null|string
# ProxyNone( mixed $Url, mixed $Status )

Parameters

$Url
mixed
$Url
$Status
mixed
$Status

Returns

null|string
private null|string
# ProxyRelay( mixed $Url, mixed $Status )

Parameters

$Url
mixed
$Url
$Status
mixed
$Status

Returns

null|string
private null|string
# ProxyBasic( mixed $Url, mixed $Status )

Parameters

$Url
mixed
$Url
$Status
mixed
$Status

Returns

null|string
private null|string
# StatusCode( mixed $Content, null $Url = null )

Parameters

$Content
mixed
$Content
$Url
null
$Url

Returns

null|string
private string
# cURL( mixed $Url )

Parameters

$Url
mixed
$Url

Returns

string
private boolean|null|string
# gzdecode( mixed $data, string & $filename = '', string & $error = '', null $maxlength = null )

by katzlbtjunk@hotmail.com http://de3.php.net/manual/en/function.gzdecode.php#82930

by katzlbtjunk@hotmail.com http://de3.php.net/manual/en/function.gzdecode.php#82930

Parameters

$data
mixed
$data
$filename
string
$filename
$error
string
$error
$maxlength
null
$maxlength

Returns

boolean|null|string
public string
# __toString( )

Returns

string
Constants summary
integer PROXY_NONE 0
#
integer PROXY_RELAY 1
#
integer PROXY_BASIC 2
#
Properties summary
private static MOC\Core\Proxy $Singleton null
#

$Singleton

$Singleton

private null|MOC\Core\Proxy\Server $Server null
#

$Server

$Server

private null|MOC\Core\Proxy\Credentials $Credentials null
#

$Credentials

$Credentials

private integer $Timeout 5
#
private mixed $ErrorNumber null
#
private mixed $ErrorString null
#
private integer $ProxyType MOC\Core\Proxy::PROXY_NONE
#
private static mixed $cURL null
#
API documentation generated by ApiGen 2.8.0