[SimpleTest] element index

Package indexes

All elements
$ a c d e f g h i l m n p r s t u w _
$
top
$constant
$constant in parser.php
Lexer mode stack constants
_
top
$_action
$_attributes
$_attributes
$_authentication
$_base
SimplePage::$_base in page.php
$_boundary
$_buttons
$_case
SimpleLexer::$_case in parser.php
$_case
ParallelRegex::$_case in parser.php
$_checkboxes
$_choice
$_complete_forms
$_content
$_content
$_content
$_cookies
$_cookies
$_cookies
$_current_attribute
$_default_target
$_encoding
$_encoding
$_encoding
$_error
$_expiry
SimpleCookie::$_expiry in cookies.php
$_filename
$_fragment
$_frames
$_frameset
$_frameset_nesting_level
$_handle
$_headers
$_headers
$_headers
$_host
SimpleCookie::$_host in cookies.php
$_host
$_http_version
$_id
SimpleForm::$_id in form.php
$_id
SimpleById::$_id in selector.php
$_images
$_is_open
$_is_secure
$_is_set
$_key
SimpleEncodedPair::$_key in encoding.php
$_key
SimpleAttachment::$_key in encoding.php
$_label
$_label
$_label
$_label
SimpleByLabel::$_label in selector.php
$_labels
$_last_widget
$_left_over_labels
$_lexer
$_links
$_listener
$_location
$_method
$_method
$_mime_type
$_mode
SimpleLexer::$_mode in parser.php
$_mode_handlers
$_name
SimpleByName::$_name in selector.php
$_name
SimpleCookie::$_name in cookies.php
$_name
$_open_forms
$_options
$_options
$_page
$_parser
SimpleLexer::$_parser in parser.php
$_password
$_password
$_path
SimpleCookie::$_path in cookies.php
$_path
$_patterns
$_port
$_private_content_tag
$_proxy
$_radios
$_raw
SimpleUrl::$_raw in url.php
$_raw
SimplePage::$_raw in page.php
$_raw_headers
$_realm
$_regex
$_regexes
$_request
$_request
$_request_data
$_response_code
$_route
$_scheme
$_sent
SimplePage::$_sent in page.php
$_sent
SimpleSocket::$_sent in socket.php
$_sent
$_stack
$_tag
$_tags
$_target
$_text
SimplePage::$_text in page.php
$_title
$_transport_error
$_url
SimpleRoute::$_url in http.php
$_url
$_url
SimplePage::$_url in page.php
$_username
$_username
$_value
SimpleCookie::$_value in cookies.php
$_value
$_value
$_values
$_widgets
$_widgets
$_x
SimpleUrl::$_x in url.php
$_y
SimpleUrl::$_y in url.php
_addLink
Adds a link to the page.
_clearError
Resets the error state to no error.
_createAction
Combined action attribute with current location to get an absolute form target.
_createInputTag
Factory for input tags.
_createPage
Creates an empty page.
_createParser
Creates the parser used with the builder.
_createResponse
Wraps the socket in a response parser.
_createSelectionTag
Factory for selection fields.
_createSocket
Factory for socket.
_encode
Renders the query string as a URL encoded request part.
_encode
Renders the query string as a URL encoded request part.
_getHostLine
Creates the host part of the request.
_getHostLine
Creates the host part of the request.
_getRequestLine
Creates the first line which is the actual request.
_getRequestLine
Creates the first line which is the actual request.
_getWidgets
Accessor to widget set.
_linkIsAbsolute
Test to see if link is an absolute one.
_openSocket
Actually opens the low level socket.
_openSocket
Actually opens the low level socket.
_parseHeaderLine
Called on each header line to accumulate the held data within the class.
_setAttribute
Sets an attribute.
_setBase
Sets the base url for the page.
_setError
Sets the internal error.
_setTitle
Sets the title tag contents.
a
top
acceptAttributeToken
Part of the tag data.
acceptEndToken
Accepts a token from the end tag mode.
acceptEntityToken
A character entity.
acceptFormEnd
Closes the most recently opened form.
acceptFormStart
Opens a form. New widgets go here.
acceptFrame
Takes a single frame tag and stashes it in the current frame set.
acceptFramesetEnd
Closes the most recently opened frameset.
acceptFramesetStart
Opens a frameset. A frameset may contain nested frameset tags.
acceptLabelEnd
Closes the most recently opened label.
acceptLabelStart
Opens a label for a described widget.
acceptPageEnd
Marker for end of complete page. Any work in progress can now be closed.
acceptStartToken
Accepts a token from the tag mode. If the
acceptTag
Adds a tag to the page.
acceptTextToken
Character data between tags regarded as important.
add
SimpleEncoding::add() in encoding.php
Adds a parameter to the query.
addContent
Unparsed, but relevant data.
addContent
Unparsed, but relevant data. The data is added to every open tag.
addContent
Text within the selection element is ignored.
addContent
Text within the selection element is ignored.
addContent
Appends string content to the current content.
addEntryPattern
Adds a pattern that will enter a new parsing mode. Useful for entering parenthesis, strings, tags, etc.
addExitPattern
Adds a pattern that will exit the current mode and re-enter the previous one.
addHeaderLine
Adds a header line to the request.
addPattern
Adds a token search pattern for a particular parsing mode. The pattern does not change the current mode.
addPattern
Adds a pattern with an optional label.
addRequestParameter
Adds an additional parameter to the request.
addRequestParameters
Adds additional parameters to the request.
addSpecialPattern
Adds a pattern that has a special mode. Acts as an entry and exit pattern in one go, effectively calling a special parser handler for this token only.
addTag
Adds an option tag to a selection field.
addTag
Adds an enclosed tag to the content.
addTag
Adds an option tag to a selection field.
addWidget
Adds a tag contents to the form.
addWidget
Adds a tag to the group.
agePrematurely
Ages all cookies in the cookie jar.
agePrematurely
Ages the cookie by the specified number of seconds.
asMime
The MIME part as a string.
asMime
The MIME part as a string.
asRequest
The pair as a single string.
asRequest
The pair as a single string.
asString
Renders the URL back into a string.
asUrlRequest
Renders the query string as a URL encoded request part for attaching to a URL.
asUrlRequest
Renders the query string as a URL encoded request part for attaching to a URL.
attach
SimpleEncoding::attach() in encoding.php
Adds a MIME part to the query. Does nothing for a form encoded packet.
attachLabelBySelector
Used by the page object to set widgets labels to external label tags.
c
top
copy
SimpleTestCompatibility::copy() in compatibility.php
Creates a copy whether in PHP5 or PHP4.
compatibility.php
compatibility.php in compatibility.php
compatibility.php
compatibility.php in compatibility.php
clear
SimpleEncoding::clear() in encoding.php
Empties the request of parameters.
clearFrameFocus
Clears the frame focus. Does nothing for a leaf page.
clearRequest
Clears down all parameters.
close
SimpleSocket::close() in socket.php
Closes the socket preventing further reads.
createConnection
Opens a socket to the route.
createConnection
Opens a socket to the route.
createLexer
Sets up the matching lexer. Starts in 'text' mode.
createTag
Factory for the tag objects. Creates the appropriate tag object for the incoming tag name and attributes.
cookies.php
cookies.php in cookies.php
cookies.php
cookies.php in cookies.php
d
top
decodeHtml
Decodes any HTML entities.
e
top
endElement
End of element event.
endElement
End of element event.
enter
Adds a state to the stack and sets it to be the current state.
expandUrl
Expands expandomatic URLs into fully qualified URLs.
expectEndTag
Tag contains no end element.
expectEndTag
Tag contains no content.
expectEndTag
Check to see if the tag can have both start and end tags with content in between.
expectEndTag
Tag contains no content.
expectEndTag
Tag contains no end element.
expectEndTag
Tag contains no content.
expectEndTag
Check to see if the tag can have both start and end tags with content in between.
expectEndTag
Base tag is not a block tag.
expectEndTag
Tag contains no content.
expectEndTag
Tag contains no content.
encoding.php
encoding.php in encoding.php
encoding.php
encoding.php in encoding.php
f
top
fetch
Dispatches the content to the route's socket.
free
Frees up any references so as to allow the PHP garbage collection from unset() to work.
form.php
form.php in form.php
form.php
form.php in form.php
g
top
getAction
Absolute URL of the target.
getAll
SimpleEncoding::getAll() in encoding.php
Accessor for listing of pairs.
getAllTopLevelDomains
A pipe seperated list of all TLDs that result in two part domain names.
getAttribute
Accessor for an attribute.
getAttribute
Accessor for an attribute.
getAuthentication
Accessor for authentication type.
getAuthentication
Accessor for last Authentication type. Only valid straight after a challenge (401).
getBasePath
Gets the path to the page.
getBaseUrl
Base URL if set via BASE tag page url otherwise
getChildElements
List of legal child elements.
getContent
Accessor for the content after the last header line.
getContent
Accessor for the whole content so far.
getCookieValue
Reads the most specific cookie value from the browser cookies. Looks for the longest path that matches.
getCurrent
Accessor for current state.
getDefault
Scans options for defaults to populate the value array().
getDefault
Accessor for starting value. Will be set to the option label if no value exists.
getDefault
Accessor for starting value.
getDefault
Accessor for starting value that is active.
getDefault
Accessor for starting value.
getDefault
Accessor for starting value. The default value is "on".
getDefault
Accessor for default value parsed with the tag.
getDefault
Scans options for defaults. If none, then the first option is selected.
getDefault
Accessor for starting value that is active.
getEncodedRequest
Accessor for current request parameters in URL string form. Will return teh original request if at all possible even if it doesn't make much sense.
getError
Accessor for an outstanding error.
getExpiry
Accessor for expiry.
getField
Accessor for a form element value within a page.
getFor
Access for the ID to attach the label to.
getFormById
Finds a held form by the form ID. A way of identifying a specific form when we have control of the HTML code.
getFormByImage
Finds a held form by image using a selector.
getFormBySubmit
Finds a held form by button label. Will only search correctly built forms.
getFragment
Accessor for fragment at end of URL after the "#".
getFrameFocus
Accessor for current frame focus. Will be false as no frames.
getFrames
Fetches a list of loaded frames.
getFrameset
Accessor for frame name and source URL for every frame that will need to be loaded. Immediate children only.
getHeaders
Accessor for header block. The response is the combination of this and the content.
getHeaders
Accessor for raw headers of page.
getHost
Accessor for the truncated host to which this cookie applies.
getHost
Accessor for hostname and port.
getHref
Accessor for URL as string.
getHttpVersion
Accessor for parsed HTTP protocol version.
getId
ID field of form for unique identification.
getIdentity
Extracts the username and password for use in rendering a URL.
getKey
Is this the value we are looking for?
getKey
Is this the value we are looking for?
getLabel
Value of browser visible text.
getLabel
Value of browser visible text.
getLabel
Value of browser visible text.
getLocation
Returns the redirected URL or false if no redirection.
getMethod
Accessor for method of form submission.
getMethod
Original request method.
getMethod
HTTP request method.
getMethod
HTTP request method.
getMethod
Original request method.
getMethod
HTTP request method.
getMimeType
Accessor for MIME type header information.
getMimeType
Accessor for current MIME type.
getName
Accessor for name.
getName
Accessor for name submitted as the key in GET/POST variables hash.
getName
SimpleByName::getName() in selector.php
getName
Fetches the name for the widget from the first member.
getNewCookies
Accessor for any new cookies.
getPage
Accessor for page if any. This may be a directory name if ambiguious.
getPassword
Accessor for password.
getPath
Accessor for path.
getPath
Accessor for path.
getPort
Accessor for port number.
getRaw
Accessor for raw header block.
getRaw
Accessor for raw text of page.
getRealm
Accessor for last Authentication realm. Only valid straight after a challenge (401).
getRealm
Accessor for security realm.
getRequest
Original request as bytes sent down the wire.
getRequestData
Original request data.
getRequestData
Original request data.
getResponseCode
Accessor for parsed HTTP error code.
getResponseCode
Accessor for HTTP response code.
getScheme
Accessor for protocol part.
getSent
Raw request that was sent down the wire.
getSent
Accessor for content so far.
getTagName
Accessor for tag name.
getTarget
Gets the frame target if present. Although not strictly part of the URL specification it acts as similarily to the browser.
getText
Accessor for content reduced to visible text. Acts like a text mode browser, normalising space and reducing images to their alt text.
getText
Accessor for plain text of page as a text browser would see it.
getTitle
Accessor for parsed title.
getTld
Accessor for top level domain.
getTransportError
Accessor for last error.
getUrl
Resource name.
getUrl
Original resource name.
getUrl
Resource name.
getUrlById
Accessor for a URL by the id attribute.
getUrls
Accessor for a list of all links.
getUrlsByLabel
Accessor for URLs by the link label. Label will match regardess of whitespace issues and case.
getUsername
Accessor for user name.
getValue
Is this the value we are looking for?
getValue
Is this the value we are looking for?
getValue
Accessor for value. A deleted cookie will have an empty string for this.
getValue
Accessor for current selected widget or false if none.
getValue
Extracts current value from form.
getValue
Accessor for currently set value or default if none.
getValue
Accessor for single value.
getValue
Accessor for current selection value.
getValue
Accessor for current selection value.
getValue
Accessor for current selected widget or false if none.
getX
Accessor for horizontal image coordinate.
getY
Accessor for vertical image coordinate.
h
top
hasFrames
Test for the presence of a frameset.
hasImage
Test to see if a form has an image control.
hasMoreThanOneLevel
hasSubmit
Test to see if a form has a submit button.
http.php
http.php in http.php
http.php
http.php in http.php
i
top
isA
SimpleTestCompatibility::isA() in compatibility.php
Test to see if an object is a member of a class hiearchy.
isIdentical
Identity test. Drops back to equality + types for PHP5 objects as the === operator counts as the stronger reference constraint.
isReference
Test for two variables being aliases.
ignore
Incoming data to be ignored.
isChallenge
Test to see if the response is an authentication challenge.
isError
Test for an outstanding error.
isExpired
Test to see if cookie is expired against the cookie format time or timestamp.
isId
Test to see if id attribute matches.
isId
Scans the widgets for one with the appropriate ID field.
isKey
Is this the value we are looking for?
isKey
Is this the value we are looking for?
isLabel
Test for a label match when searching.
isLabel
Test for a label match when searching.
isLabel
Reads external or internal label.
isLabel
Scans the widgets for one with the appropriate attached label.
isLabel
Test for a label match when searching.
isMatch
SimpleByName::isMatch() in selector.php
Compares with name attribute of widget.
isMatch
SimpleByLabel::isMatch() in selector.php
Comparison. Compares visible text of widget or related label.
isMatch
SimpleById::isMatch() in selector.php
Comparison. Compares id attribute of widget.
isMatch
Comparison. Compares visible text of widget or related label or name.
isOpen
Accessor for socket open state.
isPrivateContent
The content of textarea is not part of the page.
isPrivateContent
The content of options is not part of the page.
isPrivateContent
The current tag should not swallow all content for itself as it's searchable page content. Private content tags are usually widgets that contain default values.
isRedirect
Test to see if the response is a valid redirect.
isSecure
Accessor for the secure flag.
isValidHost
Test for a cookie being valid for a host name.
isValidPath
Tests a path to see if the cookie applies there. The test path must be longer or equal to the cookie path.
isValue
Test to see if a value matches the option.
l
top
$lock_size
leave
Leaves the current state and reverts to the previous one.
m
top
makeAbsolute
Replaces unknown sections to turn a relative URL into an absolute one. The base URL can be either a string or a SimpleUrl object.
mapHandler
Adds a mapping from a mode to another handler.
match
Attempts to match all patterns at once against a string.
merge
SimpleEncoding::merge() in encoding.php
Adds a set of parameters to this query.
MultipleSelectionTag