Element index for package PEAR
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ w ]
[ _ ]
_
- _PEAR
- in file PEAR.php, method PEAR::_PEAR()
Destructor (the emulated type of...). Does nothing right now, but is included for forward compatibility, so subclass destructors should always call it.
- _PEAR_call_destructors
- in file PEAR.php, function _PEAR_call_destructors()
top
top
top
c
- $code
- in file PEAR.php, variable PEAR_Error::$code
- connect
- in file Socket.php, method Net_Socket::connect()
Connect to the specified port. If called when the socket is already connected, it disconnects and connects again.
top
d
- delExpect
- in file PEAR.php, method PEAR::delExpect()
This method deletes all occurences of the specified element from the expected error codes stack.
- disconnect
- in file Socket.php, method Net_Socket::disconnect()
Disconnects from the peer, closes the socket.
top
top
top
g
- getBacktrace
- in file PEAR.php, method PEAR_Error::getBacktrace()
Get the call backtrace from where the error was generated.
- getCallback
- in file PEAR.php, method PEAR_Error::getCallback()
Get the callback function/method from an error object.
- getCode
- in file PEAR.php, method PEAR_Error::getCode()
Get error code from an error object
- getDebugInfo
- in file PEAR.php, method PEAR_Error::getDebugInfo()
Get additional debug information supplied by the application.
- getMessage
- in file PEAR.php, method PEAR_Error::getMessage()
Get the error message from an error object.
- getMode
- in file PEAR.php, method PEAR_Error::getMode()
Get the error mode from an error object.
- gets
- in file Socket.php, method Net_Socket::gets()
Get a specified line of data
- getStaticProperty
- in file PEAR.php, method PEAR::getStaticProperty()
If you have a class that's mostly/entirely static, and you need static
- getStatus
- in file Socket.php, method Net_Socket::getStatus()
Returns information about an existing socket resource.
- getType
- in file PEAR.php, method PEAR_Error::getType()
Get the name of this error/exception.
- getUserInfo
- in file PEAR.php, method PEAR_Error::getUserInfo()
Get additional user-supplied information.
top
top
i
- isBlocking
- in file Socket.php, method Net_Socket::isBlocking()
Find out if the socket is in blocking mode.
- isError
- in file PEAR.php, method PEAR::isError()
Tell whether a value is a PEAR error.
top
l
- $level
- in file PEAR.php, variable PEAR_Error::$level
- $lineLength
- in file Socket.php, variable Net_Socket::$lineLength
Number of bytes to read at a time in readLine() and readAll(). Defaults to 2048.
- loadExtension
- in file PEAR.php, method PEAR::loadExtension()
OS independant PHP extension load. Remember to take care on the correct extension name for case sensitive OSes.
top
top
n
- Net_Socket
- in file Socket.php, class Net_Socket
Generalized Socket class.
top
o
- OS_UNIX
- in file PEAR.php, constant OS_UNIX
- OS_WINDOWS
- in file PEAR.php, constant OS_WINDOWS
top
p
- $persistent
- in file Socket.php, variable Net_Socket::$persistent
Whether the socket is persistent. Defaults to false.
- $port
- in file Socket.php, variable Net_Socket::$port
The port number to connect to.
- PATH_SEPARATOR
- in file PEAR.php, constant PATH_SEPARATOR
- PEAR
- in file PEAR.php, class PEAR
Base class for other PEAR classes. Provides rudimentary emulation of destructors.
- PEAR
- in file PEAR.php, method PEAR::PEAR()
Constructor. Registers this object in $_PEAR_destructor_object_list for destructor emulation if a destructor object exists.
- PEAR.php
- procedural page PEAR.php
- PEAR_Error
- in file PEAR.php, class PEAR_Error
Standard PEAR error class for PHP 4
- PEAR_Error
- in file PEAR.php, method PEAR_Error::PEAR_Error()
PEAR_Error constructor
- PEAR_ERROR_CALLBACK
- in file PEAR.php, constant PEAR_ERROR_CALLBACK
ERROR constants
- PEAR_ERROR_DIE
- in file PEAR.php, constant PEAR_ERROR_DIE
ERROR constants
- PEAR_ERROR_EXCEPTION
- in file PEAR.php, constant PEAR_ERROR_EXCEPTION
WARNING: obsolete
- PEAR_ERROR_PRINT
- in file PEAR.php, constant PEAR_ERROR_PRINT
ERROR constants
- PEAR_ERROR_RETURN
- in file PEAR.php, constant PEAR_ERROR_RETURN
ERROR constants
- PEAR_ERROR_TRIGGER
- in file PEAR.php, constant PEAR_ERROR_TRIGGER
ERROR constants
- PEAR_OS
- in file PEAR.php, constant PEAR_OS
- PEAR_ZE2
- in file PEAR.php, constant PEAR_ZE2
- popErrorHandling
- in file PEAR.php, method PEAR::popErrorHandling()
Pop the last error handler used
- popExpect
- in file PEAR.php, method PEAR::popExpect()
This method pops one element off the expected error codes stack.
- pushErrorHandling
- in file PEAR.php, method PEAR::pushErrorHandling()
Push a new error handler on top of the error handler options stack. With this you can easily override the actual error handler for some code and restore it later with popErrorHandling.
top
r
- raiseError
- in file PEAR.php, method PEAR::raiseError()
This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. If the $mode and $options parameters are not specified, the object's defaults are used.
- read
- in file Socket.php, method Net_Socket::read()
Read a specified amount of data. This is guaranteed to return, and has the added benefit of getting everything in one fread() chunk; if you know the size of the data you're getting beforehand, this is definitely the way to go.
- readAll
- in file Socket.php, method Net_Socket::readAll()
Read until the socket closes, or until there is no more data in
- readByte
- in file Socket.php, method Net_Socket::readByte()
Reads a byte of data
- readInt
- in file Socket.php, method Net_Socket::readInt()
Reads an int of data
- readIPAddress
- in file Socket.php, method Net_Socket::readIPAddress()
Reads an IP Address and returns it in a dot formated string
- readLine
- in file Socket.php, method Net_Socket::readLine()
Read until either the end of the socket or a newline, whichever comes first. Strips the trailing newline from the returned data.
- readString
- in file Socket.php, method Net_Socket::readString()
Reads a zero-terminated string of data
- readWord
- in file Socket.php, method Net_Socket::readWord()
Reads a word of data
- registerShutdownFunc
- in file PEAR.php, method PEAR::registerShutdownFunc()
Use this function to register a shutdown method for static classes.
top
s
- select
- in file Socket.php, method Net_Socket::select()
Runs the equivalent of the select() system call on the socket with a timeout specified by tv_sec and tv_usec.
- setBlocking
- in file Socket.php, method Net_Socket::setBlocking()
Sets whether the socket connection should be blocking or not. A read call to a non-blocking socket will return immediately if there is no data available, whereas it will block until there is data for blocking sockets.
- setErrorHandling
- in file PEAR.php, method PEAR::setErrorHandling()
Sets how errors generated by this object should be handled.
- setTimeout
- in file Socket.php, method Net_Socket::setTimeout()
Sets the timeout value on socket descriptor, expressed in the sum of seconds and microseconds
- staticPopErrorHandling
- in file PEAR.php, method PEAR::staticPopErrorHandling()
- staticPushErrorHandling
- in file PEAR.php, method PEAR::staticPushErrorHandling()
top
t
- $timeout
- in file Socket.php, variable Net_Socket::$timeout
Number of seconds to wait on socket connections before assuming there's no more data. Defaults to no timeout.
- throwError
- in file PEAR.php, method PEAR::throwError()
Simpler form of raiseError with fewer options. In most cases message, code and userinfo are enough.
- toString
- in file PEAR.php, method PEAR_Error::toString()
Make a string representation of this object.
top
top
w
- write
- in file Socket.php, method Net_Socket::write()
Write a specified amount of data.
- writeLine
- in file Socket.php, method Net_Socket::writeLine()
Write a line of data to the socket, followed by a trailing "\r\n".
top
|
|