-
Authenticate
-
Authenticate. Do whatever we need to authenticate a username / password.
-
AuthPlugin
-
Create a new AuthPlugin object. This is as lightweight as possible.
-
AuthPlugin
-
A class for authenticating and retrieving user information
-
AuthPlugin.php
-
-
AuthPlugins.php
-
-
auth_external
-
Authentication has already happened. We know the username, we just need to do the authorisation / access control. The password is ignored.
-
auth_other_awl
-
Authenticate against a different PostgreSQL database which contains a usr table in the AWL format.
-
$Align
-
-
AddColumn
-
Add a column to the Browser.
-
AddGrouping
-
-
AddHidden
-
Add a hidden column - one that is present in the SQL result, but for which there is no column displayed.
-
AddOrder
-
Add an ordering to the browser widget.
-
AddRow
-
Add an extra arbitrary row onto the end of the browser.
-
AddTotal
-
Mark a column as something to be totalled. You can also specify the name of a function which may modify the value before the actual totalling.
-
AndWhere
-
Add an OR ... to the SQL Where clause
-
$attributes
-
An array of key value pairs
-
AddTable
-
This will join an additional table to the maintained set
-
AddBcc
-
Add another Bcc recipient to the email
-
AddCc
-
Add another Cc recipient to the email
-
AddErrorsTo
-
Add another Error recipient to the email
-
AddReplyTo
-
Add another Reply-to address to the email
-
AddTo
-
Add another recipient to the email
-
Add
-
Add a new property/value, regardless of whether it exists already
-
AddComponent
-
Adds a new subcomponent
-
AddProperty
-
Adds a new property
-
ApplyFilter
-
Applies the filter conditions, possibly recursively, to the value which will be either a single property, or an array of lines of the component under test.
-
Active
-
Mark it as active, with a fancy style to distinguish that
-
AddOption
-
Add an option, which is a link.
-
AddSubMenu
-
Add an option, which is a submenu
-
AddSubmenu
-
This menu option is now promoted to the head of a tree
-
awl_replace_sql_args
-
Replaces PostgreSQL query with escaped parameters in preparation for execution.
-
AllowedTo
-
Checks whether a user is allowed to do something.
-
AssignSessionDetails
-
Internal function used to assign the session details to a user's new session.
-
awl_set_locale
-
Set the translation to the user's locale. At this stage all we do is call the gettext function.
-
AllowedTo
-
Can the user do this?
-
apache_request_headers
-
Forward compatibility so we can use the non-deprecated name in PHP4
-
AWLUtilities.php
-
-
AddRule
-
Adds a validation rule for a specific field upon submission of the form.
-
$attributes
-
-
AddSubTag
-
Add a sub-element
-
$BeginRow
-
-
$BeginRowArgs
-
-
Browser
-
Start a new Browser, add columns, set a join and Render it to create a basic list of records in a table.
-
Browser
-
The Browser class constructor
-
BrowserColumn
-
BrowserColumn constructor. Only the first parameter is mandatory.
-
BrowserColumn
-
BrowserColumns are the basic building blocks. You can specify just the field name, and the column header or you can get fancy and specify an alignment, format string, SQL formula and cell CSS class.
-
BrowserColumnValueReplacement
-
Return values from the current row for replacing into a template.
-
BreakLine
-
A utility function for a heading line within a data entry table
-
BuildFromText
-
Build the vEvent object from a text string which is a single VEVENT
-
BuildFromText
-
Build the iCalendar object from a text string which is a single iCalendar resource
-
BuildOptionList
-
Build an option list from the query.
-
BuildConfirmationHash
-
Build a hash which we can use for confirmation that we didn't get e-mailed a bogus link by someone, and that we actually got here by traversing the website.
-
BuildXMLTree
-
Rebuild an XML tree in our own style from the parsed XML tags using a tail-recursive approach.
-
DoQuery
-
This method is used to build and execute the database query.
-
DataEntry.php
-
-
DataEntryField
-
A utility function for a data entry line within a table
-
DataEntryLine
-
A utility function for a data entry line within a table
-
DataUpdate.php
-
-
DBRecord
-
Really numbingly simple construction.
-
DBRecord
-
A Base class to use for records which will be read/written from the database.
-
DealWithTimeZones
-
Do what must be done with time zones from on file. Attempt to turn them into something that PostgreSQL can understand...
-
DealWithTimeZones
-
Do what must be done with time zones from on file. Attempt to turn them into something that PostgreSQL can understand...
-
DefaultPropertyList
-
An array of property names that we should always want when rendering an iCalendar
-
$dbconn
The database connection.
-
-
duration
-
A duration (in decimal seconds) between two times which are the result of calls to microtime()
-
Dbg
-
DEPRECATED Utility function to log debug stuff with printf expansion, and the ability to enable it selectively.
-
dbg_error_log
-
Writes a debug message into the error log using printf syntax. If the first parameter is "ERROR" then the message will _always_ be logged.
-
dbg_log_array
-
Function to dump an array to the error log, possibly recursively
-
$ExtraRows
-
-
EndForm
-
Return the HTML fragment to end the form.
-
EntryField
-
Individual fields used for data entry / viewing.
-
EntryField
-
Initialise an EntryField, used for data entry.
-
EntryForm
-
A class to handle displaying a form on the page (for editing) or a structured layout of non-editable content (for viewing), with a simple switch to flip from view mode to edit mode.
-
EntryForm
-
Initialise a new data-entry form.
-
$EditMode
-
The mode we are in for any form
-
EMail
-
Create the e-mail, optionally assigning the subject and primary recipient.
-
EMail
-
Lightweight class for sending an e-mail.
-
EMail.php
-
-
ExtractProperty
-
Extract a particular property from the provided component. In doing so we assume that the content was unescaped when iCalComponent::ParseFrom() called iCalComponent::UnwrapComponent().
-
ExtractSubComponent
-
Return all sub-components of the given type, which are part of the component we pass in as an array of lines.
-
$errorstring
-
The PostgreSQL error message, if the query fails.
-
$execution_time
-
Stores the query execution time - used to deal with long queries.
-
Exec
-
Execute the query, logging any debugging.
-
$email
-
The user's email address from their usr record.
-
EmailTemporaryPassword
-
E-mails a temporary password in response to a request from a user.
-
$Grouping
-
-
GetTarget
-
GetTarget
-
Get
-
Returns a single field from the record
-
get_fields
-
Get the names of the fields for a particular table
-
Get
-
Get the value of a property
-
Get
-
Get the value of a property in the first non-VTIMEZONE
-
GetComponents
-
Get all sub-components, or at least get those matching a type, or failling to match, should the second parameter be set to false.
-
GetParameterValue
-
Get the value of a parameter
-
GetPParamValue
-
Get the value of the specified parameter for the first property matching the name. Obviously this isn't so useful for properties which may occur multiply, but most don't.
-
GetProperties
-
Get all properties, or the properties matching a particular type
-
GetPropertiesByPath
-
Return an array of properties matching the specified path
-
GetPValue
-
Get the value of the first property matching the name. Obviously this isn't so useful for properties which may occur multiply, but most don't.
-
GetType
-
Return the type of component which this is
-
GetRoles
-
Internal function used to get the user's roles from the database.
-
GetRoles
-
Get the group memberships for the user
-
GetAttribute
-
Accessor for a single attribute
-
GetAttributes
-
Accessor for the attributes
-
GetContent
-
Accessor for the content
-
GetElements
-
Return an array of elements matching the specified tag
-
GetNSTag
-
Accessor for the full-namespaced tag name
-
GetPath
-
Return an array of elements matching the specified path
-
GetTag
-
Accessor for the tag name
-
Initialise
-
This will read the record from the database if it's available, and the $keys parameter is a non-empty array.
-
iCalComponent
-
A basic constructor
-
iCalComponent
-
A Class for representing components within an iCalendar
-
iCalendar
-
The constructor takes an array of args. If there is an element called 'icalendar' then that will be parsed into the iCalendar object. Otherwise the array elements are converted into properties of the iCalendar object directly.
-
iCalendar
-
A Class for handling Events on a calendar
-
iCalendar.php
-
-
iCalFooter
-
Returns the footer we always use at the finish of our iCalendar resources
-
iCalHeader
-
Returns the header we always use at the start of our iCalendar resources
-
iCalProp
-
The constructor parses the incoming string, which is formatted as per RFC2445 as a propname[;param1=pval1[; ... ]]:propvalue however we allow ourselves to assume that the RFC2445 content unescaping has already happened when iCalComponent::ParseFrom() called iCalComponent::UnwrapComponent().
-
iCalProp
-
A Class for representing properties within an iCalendar
-
IsAttendee
-
Return true if the person identified by the email address is down as an attendee or organizer for this meeting.
-
IsOrganizer
-
Return true if the person identified by the email address is down as an organizer for this meeting.
-
IsActive
-
Whether this option is currently active.
-
i18n
-
Mark a string as being internationalized. This is a semaphore method; it does nothing but it allows us to easily identify strings that require translation. Generally this is used to mark strings that will be stored in the database (like descriptions of permissions).
-
init_gettext
-
Initialise our use of Gettext
-
PopulateForm
-
Initialise some more of the forms fields, possibly with a prefix
-
PostToValues
-
This will assign $_POST values to the internal Values object for each field that exists in the Fields array.
-
Parameters
-
Get/Set parameters in their entirety
-
ParseFrom
-
The constructor parses the incoming string, which is formatted as per RFC2445 as a propname[;param1=pval1[; ... ]]:propvalue however we allow ourselves to assume that the RFC2445 content unescaping has already happened when iCalComponent::ParseFrom() called iCalComponent::UnwrapComponent().
-
ParseFrom
-
Parse the text $content into sets of iCalProp & iCalComponent within this iCalComponent
-
ParseSomeLines
-
Function to parse lines from BEGIN:SOMETHING to END:SOMETHING into a nested array structure
-
Put
-
Put the value of a property
-
Put
-
Because I screwed up with the name originally...
-
PgQuery
-
Constructor
-
PgQuery
-
The PgQuery Class.
-
PgQuery.php
-
-
Plain
-
Convert a string which has already been quoted and escaped for PostgreSQL into a magic array so that it will be inserted unmodified into the SQL string. Use with care!
-
positive_dollars
-
Check that the given string is a positive dollar amount.
-
positive_integer
-
Check that the given string is a positive integer.
-
Render
-
This method is used to render the browser as HTML. If the query has not yet been executed then this will call DoQuery to do so.
-
RenderHeader
-
RenderHeader
-
RenderValue
-
-
RowFormat
-
Set the format for an output row.
-
$rendered
-
Once it actually is...
-
Render
-
Render an EntryField into HTML
-
RevertLineFormat
-
Revert the line format to what was in place before the last TempLineFormat call.
-
Read
-
To read the record from the database.
-
Render
-
Render a suitably escaped RFC2445 content string.
-
Render
-
Render the vEvent object as a text string which is a single VEVENT
-
Render
-
Render the iCalendar object as a text string which is a single VEVENT (or other)
-
Render
-
Renders the component, possibly restricted to only the listed properties
-
RenderParameters
-
Render the set of parameters as key1=value1[;key2=value2[; ...]] with any colons or semicolons escaped.
-
RFC2445ContentEscape
-
Returns a suitably escaped RFC2445 content string.
-
RFC2445ContentEscape
-
Returns a suitably escaped RFC2445 content string.
-
RFC2445ContentUnescape
-
Returns a content string with the RFC2445 escaping removed
-
$rendered
-
The rendered HTML fragment (once it has been).
-
Render
-
Render the menu tree to an HTML fragment.
-
Render
-
Convert the menu option into an HTML string
-
$rows
-
number of rows from pg_numrows - for fetching result
-
RenderLoginPanel
-
Renders some HTML for a basic login panel
-
Render
-
Render the form / viewer as HTML to show the user
-
RenderFields
-
Render the core details to show to the user
-
RenderRoles
-
Render the user's administrative roles
-
replace_uri_params
-
Given a URL (presumably the current one) and a parameter, replace the value of parameter, extending the URL as necessary if the parameter is not already there.
-
RenderJavascript
-
Returns the javascript for form validation using the rules.
-
Render
-
Render the document tree into (nicely formatted) XML
-
RenderContent
-
Render just the internal content
-
$Sql
-
-
$SubTitle
-
-
SetJoins
-
Set the tables and joins for the SQL.
-
SetSubTitle
-
Set a Sub Title for the browse.
-
SetTitle
-
Set the Title for the browse.
-
SetTranslatable
-
-
SetTranslatable
-
Set the named columns to be translatable
-
SetUnion
-
Set a Union SQL statement.
-
SetWhere
-
Set the SQL Where clause to a specific value.
-
SimpleForm
-
Set the line format to an extremely simple CSS based prompt / field layout.
-
StartForm
-
Start the actual HTML form. Return the fragment to do this.
-
SubmitButton
-
A utility function for a submit button within a data entry table
-
Set
-
Sets a single field in the record
-
sql_from_object
-
Build SQL INSERT/UPDATE statement from an associative array of fieldnames => values.
-
sql_from_post
-
Build SQL INSERT/UPDATE statement from the $_POST associative array
-
Send
-
Actually send the email
-
SetBody
-
Set the body of the e-mail.
-
SetFrom
-
Set the visible From address for the e-mail.
-
SetSender
-
Set the envelope sender address for the e-mail.
-
SetSubject
-
Set the subject line for the email
-
SaveTimeZones
-
Save any timezones by TZID in the PostgreSQL database for future re-use.
-
Set
-
Set the value of a property
-
SetComponents
-
Sets some or all sub-components of the component to the supplied new components
-
SetParameterValue
-
Set the value of a parameter
-
SetProperties
-
Set all properties, or the ones matching a particular type
-
SetType
-
Set the type of component which this is
-
SqlDateFormat
-
Returns a PostgreSQL Date Format string suitable for returning iCal dates
-
SqlDateFormat
-
Returns a PostgreSQL Date Format string suitable for returning iCal dates
-
SqlDurationFormat
-
Returns a PostgreSQL Date Format string suitable for returning iCal durations
-
SqlDurationFormat
-
Returns a PostgreSQL Date Format string suitable for returning iCal durations
-
SqlUTCFormat
-
Returns a PostgreSQL Date Format string suitable for returning dates which
-
SqlUTCFormat
-
Returns a PostgreSQL Date Format string suitable for returning dates which
-
$self
-
A reference to this menu option itself
-
Set
-
Set arbitrary attributes of the menu option
-
Size
-
Find out how many options the menu has.
-
SetConnection
-
Use a different database connection for this query
-
$session
The session object is global.
-
-
$session_id
-
A unique id for this user's logged-in session.
-
SendTemporaryPassword
-
Sends a temporary password in response to a request from a user.
-
Session
-
Create a new Session object.
-
Session
-
A class for creating and holding session information.
-
Session.php
-
-
session_salted_md5
-
Make a salted MD5 string, given a string and (possibly) a salt.
-
session_salted_sha1
-
Make a salted SHA1 string, given a string and (possibly) a salt. PHP5 only (although it could be made to work on PHP4 (@see http://www.openldap.org/faq/data/cache/347.html). The algorithm used here is compatible with OpenLDAP so passwords generated through this function should be able to be migrated to OpenLDAP by using the part following the second '*', i.e.
-
session_validate_password
-
Checks what a user entered against the actual password on their account.
-
selected
-
Checks that a string is not empty or zero
-
SetAttribute
-
Set an element attribute to a value
-
SetContent
-
Set the whole content to a value