-
__construct
-
Initialise the cache connection. We use getpid() to give us a persistent connection.
-
_awl_connect_configured_database
-
Connect to the database defined in the $c->db_connect[] (or $c->pg_connect) arrays
-
_log_query
-
Log query, optionally with file and line location of the caller.
-
__construct
-
Constructor
-
__construct
-
Constructor
-
__construct
-
Parses the connection string to ascertain the database dialect. Returns true if the dialect is supported and fails if the dialect is not supported. All code to support any given database should be within in an external include.
-
__construct
-
-
__construct
-
-
_ParseAttributes
-
Internal function for parsing the type extra on a field.
-
_BuildFieldList
-
Builds a field target list
-
_BuildJoinClause
-
Builds a table join clause
-
_BuildWhereClause
-
Builds a where clause to match the supplied keys
-
_AppendDelimited
-
Append something with a comma delimter onto the existing referenced string
-
_CompareMenuSequence
-
_CompareMenuSequence is used in sorting the menu options into the sequence order
-
_CompareSequence
-
_CompareSequence is used in sorting the menu options into the sequence order
-
_HasActive
-
Does the menu have any options that are active.
-
_OptionExists
-
See if a menu already has this option
-
_log_error
-
Log error, optionally with file and line location of the caller.
-
__construct
-
Constructor
-
_CheckLogin
-
-
_CheckLogout
-
-
__construct
-
Constructor. If a string is passed it will be parsed as if it was an iCalendar object, otherwise a new vCalendar will be initialised with basic content. If an array of key value pairs is provided they will also be used as top-level properties.
-
__construct
-
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 vComponent::ParseFrom() called vComponent::UnwrapComponent().
-
__construct
-
A basic constructor
-
__toString
-
-
__toString
-
-
$_parent
-
-
__construct
-
Constructor - nothing fancy as yet.
-
__tostring
-
-
acquireLock
-
Acquire a lock on something
-
AwlCache
-
A simple Memcached wrapper supporting namespacing of stored values.
-
AwlCache.php
-
-
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.
-
AwlDatabase
-
Typically there will only be a single instance of the database level class in an application.
-
AwlDatabase.php
-
-
AwlDBDialect
-
The AwlDBDialect class handles support for different SQL dialects
-
AwlDBDialect.php
-
-
AwlQuery
-
The AwlQuery Class.
-
AwlQuery.php
-
-
AwlUpgrader
-
The AwlUpgrader Class.
-
AwlUpgrader.php
-
-
$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
-
$Action
-
-
$Attributes
-
-
AddAttribute
-
-
AddAttribute
-
-
AddField
-
-
AndWhere
-
-
Assign
-
Assigns the value of a field in the record currently associated with this editor.
-
Available
-
-
$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
-
-
AddComponent
-
-
AddComponent
-
Adds a new subcomponent
-
AddProperty
-
Adds a new property
-
ApplyFilter
-
-
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?
-
AWLUtilities.php
-
-
awl_version
-
Return the AWL version
-
AddRule
-
Adds a validation rule for a specific field upon submission of the form.
-
AddTimeZone
-
Add a timezone component to this vCalendar.
-
AddComponent
-
Adds a new subcomponent
-
AddProperty
-
Adds a new property
-
$attributes
-
-
AddSubTag
-
Add a sub-element
-
$bound_parameters
-
The current array of bound parameters
-
$bound_querystring
-
The actual query string, after we've replaced parameters in it
-
Begin
-
Begin a transaction.
-
Begin
-
Wrap the parent DB class Begin() so we can $qry->Begin() sometime before we $qry->Exec()
-
Bind
-
Bind some parameters. This can be called in three ways:
-
$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.
-
$BaseTable
-
-
BreakLine
-
A utility function for a heading line within a data entry table
-
BuildOptionList
-
Build an option list from the query.
-
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.
-
$connection
-
Our database connection, normally copied from a global one
-
Commit
-
Wrap the parent DB class Commit() so we can $qry->Commit() sometime after we $qry->Exec()
-
Commit
-
Complete a transaction.
-
$Class
-
-
$CloseRow
-
-
$Columns
-
-
$current_row
-
-
classBrowser.php
-
-
classEditor.php
-
-
$current
-
The current value
-
ClearComponents
-
-
ClearComponents
-
Clear all components, or the components matching a particular type
-
ClearProperties
-
Clear all properties, or the properties matching a particular type
-
CloneConfidential
-
Clone this component (and subcomponents) into a confidential version of it. A confidential event will be scrubbed of any identifying characteristics other than time/date, repeat, uid and a summary which is just a translated 'Busy'.
-
CollectParameterValues
-
Collect an array of all parameters of our properties which are the specified type
-
clean_string
-
Clean a string of many suspicious characters
-
connect_configured_database
-
Connect to the database defined in the $c->dbconn[] array
-
CheckConfirmationHash
-
Check a hash which we created through BuildConfirmationHash
-
check_temporary_passwords
-
Checks what a user entered against any currently valid temporary passwords on their account.
-
check_by_regex
-
Verify a value is OK by testing a regex against it. If it is an array apply it to each element in the array recursively. If it is an object we don't mess with it.
-
Confidential
-
Morph this component (and subcomponents) into a confidential version of it. A confidential event will be scrubbed of any identifying characteristics other than time/date, repeat, uid and a summary which is just a translated 'Busy'.
-
$components
-
An array of (sub-)components, which are vComponent objects
-
$content
-
The value of this property.
-
ClearComponents
-
Clear all components, or the components matching a particular type
-
ClearProperties
-
Clear all properties, or the properties matching a particular type
-
CollectParameterValues
-
Collect an array of all parameters of our properties which are the specified type
-
ComponentCount
-
Return number of components
-
$content
-
-
CountElements
-
Count the number of elements
-
delete
-
Delete a value from a namespace/key, or for everything in a namespace if a 'null' key is supplied.
-
$db
-
Holds the PDO database connection
-
$dialect
-
Holds the name of the database dialect
-
$Distinct
-
-
$DivClose
-
-
$DivOpen
-
-
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...
-
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
-
define_byte_mappings
-
-
deprecated
-
-
$error_info
-
The Database error information, if the query fails.
-
$execution_time
-
Stores the query execution time - used to deal with long queries.
-
ErrorInfo
-
-
Exec
-
Execute the query, logging any debugging.
-
Execute
-
Tell the database to execute the query
-
E_USER_ERROR
-
-
$ExtraRows
-
-
Editor
-
The class for the Editor form in full
-
EditorField
-
A class for the fields in the editor
-
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
-
-
ExtractSubComponent
-
-
$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.
-
get
-
get a value from the specified namespace / key
-
getCacheInstance
-
-
GetConnection
-
Get the current database connection for this query
-
GetFields
-
Returns the SQL for the current database dialect which will return a two-column resultset containing a list of fields and their associated data types.
-
GetVersion
-
Sets the current search path for the database.
-
$Grouping
-
-
GetTarget
-
GetTarget
-
GetTotal
-
Retrieve the total from a totalled column
-
GetRecord
-
-
GetTarget
-
-
Get
-
Returns a single field from the record
-
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.
-
GetComponents
-
-
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
-
get_fields
-
Get the names of the fields for a particular table
-
gzdecode
-
-
GetAttendees
-
Get the attendees of this VEVENT/VTODO
-
GetItip
-
Clone this component (and subcomponents) into a minimal iTIP version of it.
-
GetOlsonName
-
Work out what Olson timezone this VTIMEZONE really is. Perhaps we should put this into a vTimezone class.
-
GetOrganizer
-
Get the organizer of this VEVENT/VTODO
-
GetScheduleAgent
-
Get the schedule-agent from the organizer
-
GetTimeZone
-
Get a timezone component for a specific TZID in this calendar.
-
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. Component types may be a string or an array associating property names with true values: array( 'TYPE' => true, 'TYPE2' => true )
-
GetParameterValue
-
Get the value of a parameter
-
GetProperties
-
Get all properties, or the properties matching a particular type, or matching an
-
GetPropertiesByPath
-
Return an array of properties matching the specified path
-
GetProperty
-
Return the first instance of a property of this name
-
GetPValue
-
Return the value of the first instance of a property of this name, or null
-
GetType
-
Return the type of component which this is
-
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, or all elements if no tag is supplied.
-
GetNSTag
-
Accessor for the full-namespaced tag name
-
GetPath
-
Return an array of elements matching the specified path
-
GetTag
-
Accessor for the tag name
-
isActive
-
So we can find out if we are actually using the cache.
-
$Id
-
-
Id
-
Sets or returns the form ID used for differentiating this form from others in the page.
-
Initialise
-
Set some particular values to the ones from the array.
-
IsCreate
-
-
IsSubmit
-
-
IsUpdate
-
-
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
-
-
iCalendar
-
A Class for handling Events on a calendar (DEPRECATED)
-
iCalendar.php
-
-
iCalFooter
-
-
iCalHeader
-
-
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
-
$match_column
-
-
$match_function
-
-
$match_value
-
-
MatchedRow
-
Replace a row where $column = $value with an extra arbitrary row, returned from calling $function
-
MoreWhere
-
Add an [operator] ... to the SQL Where clause
-
MoreWhere
-
-
MultiEntryLine
-
A utility function for a data entry line, where the prompt is a drop-down.
-
MaskComponents
-
Mask components, removing any that are not of the types in the list
-
MaskComponents
-
-
MaskProperties
-
Mask properties, removing any that are not in the list
-
MakeSomethingActive
-
Mark each MenuOption as active that has an active sub-menu entry.
-
MaybeActive
-
Whether this option is currently active.
-
MenuOption
-
The thing we click
-
MenuOption
-
Each menu option is an object.
-
MenuSet
-
Start a new MenuSet with no options.
-
MenuSet
-
A MenuSet is a hierarchy of MenuOptions, some of which might be MenuSet objects themselves.
-
MenuSet.php
-
-
MaskComponents
-
Mask components, removing any that are not of the types in the list
-
MaskProperties
-
Mask properties, removing any that are not in the list
-
Parameters
-
Return the parameters we are planning to substitute into the query string
-
prepare
-
Returns a PDOStatement object created using this database, the supplied SQL string, and any parameters given.
-
Prepare
-
Tell the database to prepare the query that we will execute
-
PrepareTranslated
-
Operates identically to AwlDatabase::Prepare, except that $this->Translate() will be called on the query before any processing.
-
PostToValues
-
This will assign $_POST values to the internal Values object for each field that exists in the Fields array.
-
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
-
Parse the text $content into sets of iCalProp & iCalComponent within this iCalComponent
-
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().
-
ParseSomeLines
-
Function to parse lines from BEGIN:SOMETHING to END:SOMETHING into a nested array structure
-
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!
-
param_to_global
-
Convert a parameter to a global. We first look in _POST and then in _GET, and if they passed in a bunch of valid characters, we will make sure the incoming is cleaned to only match that set.
-
positive_dollars
-
Check that the given string is a positive dollar amount.
-
positive_integer
-
Check that the given string is a positive integer.
-
$parameters
-
An array of parameters to this property, represented as key/value pairs.
-
$properties
-
An array of properties, which are vProperty objects
-
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 vComponent::ParseFrom() called vComponent::UnwrapComponent().
-
ParseFrom
-
Parse the text $content into sets of vProperty & vComponent within this vComponent
-
$querystring
-
The original query string
-
$query_time_warning
-
How long the query should take before a warning is issued.
-
QDo
-
Simple QDo() class which will re-use this query for whatever was passed in, and execute it returning the result of the Exec() call. We can't call it Do() since that's a reserved word...
-
query
-
Returns a PDOStatement object created using this database, the supplied SQL string, and any parameters given.
-
QueryString
-
Return the query string we are planning to execute
-
quote
-
Quote the given string so it can be safely used within string delimiters in a query. To be avoided, in general.
-
Quote
-
Returns $value escaped in an appropriate way for this database dialect.
-
$Query
-
-
$Query
-
-
$query_time_warning
-
How long the query should take before a warning is issued.
-
qpg
-
Quote the given string (depending on its type) so that it can be used safely in a PostgreSQL query without fear of SQL injection errors.
-
quote
-
Quote the given string so it can be safely used within string delimiters in a query.
-
quoted_printable_encode
-
Process a string to fit the requirements of RFC2045 section 6.7. Note that this works, but replaces more characters than the minimum set. For readability the spaces aren't encoded as =20 though.
-
releaseLock
-
Release a lock
-
$result
-
Result of the last execution
-
$rownum
-
number of current row - use accessor to get/set
-
$rows
-
number of rows from pg_numrows - use accessor to get value
-
ReplaceNamedParameters
-
Replaces named query parameters of the form :name with appropriately escaped substitutions.
-
ReplaceParameters
-
Replaces query parameters with appropriately escaped substitutions.
-
Rollback
-
Cancel a transaction in progress.
-
Rollback
-
Wrap the parent DB class Rollback() so we can $qry->Rollback() sometime after we $qry->Exec()
-
rownum
-
Return the current rownum in the retrieved set
-
rows
-
Return the count of rows retrieved/affected
-
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.
-
$Record
-
-
$RecordAvailable
-
-
Render
-
Render the templated component. The heavy lifting is done by the callback...
-
RenderAttributes
-
-
ReplaceEditorPart
-
Replace parts into the form template.
-
$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
-
Renders the component, possibly restricted to only the listed properties
-
Render
-
-
RenderParameters
-
Render the set of parameters as key1=value1[;key2=value2[; ...]] with any colons or semicolons escaped.
-
RFC2445ContentEscape
-
-
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
-
RenderAsCSS
-
Render the menu tree to an HTML fragment.
-
$rows
-
number of rows from pg_numrows - for fetching result
-
rows
-
Provide a rows() method for forward compatibility with AwlQuery.
-
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.
-
$rendered
-
The original value that this was parsed from, if that's the way it happened.
-
$rendered
-
The rendered result (or what was originally parsed, if there have been no changes)
-
Render
-
Render a suitably escaped RFC2445 content string.
-
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.
-
Render
-
Render the document tree into (nicely formatted) XML
-
RenderContent
-
Render just the internal content
-
set
-
Set a value for the specified namespace/key, perhaps with an expiry (default 10 days)
-
$sth
-
The PDO statement handle, or null if we don't have one yet.
-
SetConnection
-
Use a different database connection for this query
-
SetSearchPath
-
Sets the current search path for the database.
-
SetSql
-
Simple SetSql() class which will reset the object with the querystring from the first argument.
-
$Sql
-
-
$SubTitle
-
-
SetDistinct
-
Set the SQL DISTINCT clause to a specific value.
-
SetDiv
-
Set a div for wrapping the browse.
-
SetJoins
-
Set the tables and joins for the SQL.
-
SetLimit
-
Set the SQL LIMIT clause to a specific value.
-
SetOffset
-
Set the SQL OFFSET clause to a specific value.
-
SetOrdering
-
Set up the ordering for the browser. Generally you should call this with the first parameter set as a field to order by default. Call with the second parameter set to 'D' or 'DESCEND' if you want to reverse the default order.
-
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.
-
$Sql
-
-
$SubmitName
-
-
Set
-
-
SetBaseTable
-
-
SetJoins
-
-
SetLookup
-
-
SetLookup
-
-
SetOptionList
-
-
SetOptionList
-
-
SetRecord
-
-
SetSql
-
-
SetSql
-
-
SetSubmitName
-
-
SetTemplate
-
-
SetWhere
-
-
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
-
-
Set
-
Set the value of a property
-
SetComponents
-
Sets some or all sub-components of the component to the supplied new components
-
SetComponents
-
-
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
-
-
SqlDurationFormat
-
-
SqlUTCFormat
-
-
$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_simple_md5
-
Make a plain MD5 hash of a string, identifying the type of hash it is
-
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
-
StartFilter
-
Test a PROP-FILTER or COMP-FILTER and return a true/false COMP-FILTER (is-defined | is-not-defined | (time-range?, prop-filter*, comp-filter*)) PROP-FILTER (is-defined | is-not-defined | ((time-range | text-match)?, param-filter*))
-
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
-
SetAttribute
-
Set an element attribute to a value
-
SetContent
-
Set the whole content to a value
-
$translate_all
-
Holds whether we are translating all statements.
-
$txnstate
-
Holds the state of the transaction 0 = not started, 1 = in progress, -1 = error pending rollback/commit
-
TransactionState
-
Returns the current state of a transaction, indicating if we have begun a transaction, whether the transaction has failed, or if we are not in a transaction.
-
TransactionState
-
Returns the current state of a transaction, indicating if we have begun a transaction, whether the transaction has failed, or if we are not in a transaction.
-
TranslateAll
-
Switches on or off the processing flag controlling whether subsequent calls to AwlDatabase::Prepare are translated as if PrepareTranslated() had been called.
-
TranslateSQL
-
Translates the given SQL string into a form that will hopefully work for this database dialect. This hook is intended to be used by developers to provide support for differences in database operation by translating the query string in an arbitrary way, such as through a file or database lookup.
-
$Title
-
-
$TotalFuncs
-
-
$Totals
-
-
$Translatable
-
-
$Type
-
-
Title
-
Accessor for the Title for the browse, which could set the title also.
-
$Template
-
-
$Title
-
-
Title
-
Accessor for the Title for the browse, which could set the title also.
-
TempLineFormat
-
Set the line format to a temporary one that we can revert from.
-
TestFilter
-
-
TextMatch
-
Test if our value contains a string
-
translate
-
Convert a string in English to whatever this user's locale is
-
Translation.php
-
-
trace_bug
-
Not as sever as a fatal() call, but we want to log and trace it
-
$type
-
The type of this component, such as 'VEVENT', 'VTODO', 'VTIMEZONE', 'VCARD', etc.
-
TestFilter
-
Test a PROP-FILTER or PARAM-FILTER and return a true/false PROP-FILTER (is-defined | is-not-defined | ((time-range | text-match)?, param-filter*)) PARAM-FILTER (is-defined | is-not-defined | ((time-range | text-match)?, param-filter*))
-
TestFilter
-
Test a PROP-FILTER or COMP-FILTER and return a true/false COMP-FILTER (is-defined | is-not-defined | (time-range?, prop-filter*, comp-filter*)) PROP-FILTER (is-defined | is-not-defined | ((time-range | text-match)?, param-filter*))
-
TestParamFilter
-
-
TextMatch
-
Test if our value contains a string
-
$tagname
-
-
$Union
-
-
Undefine
-
Unsets a single field from the record
-
UnwrapComponent
-
This unescapes the (CRLF + linear space) wrapping specified in RFC2445. According to RFC2445 we should always end with CRLF but the CalDAV spec says that normalising XML parsers often muck with it and may remove the CR. We accept either case.
-
UnFetch
-
Set row counter back one
-
$username
-
The user's username used to log in.
-
$user_no
-
The user_no of the logged in user.
-
User
-
The constructor initialises a new record, potentially reading it from the database.
-
User
-
A class to handle reading, writing, viewing, editing and validating usr records.
-
User.php
-
-
uuid
-
Generates a Universally Unique IDentifier, version 4.
-
UpdateAttendeeStatus
-
Update the attendees of this VEVENT/VTODO
-
UpdateOrganizerStatus
-
Update the ORGANIZER of this VEVENT/VTODO
-
UnwrapComponent
-
This unescapes the (CRLF + linear space) wrapping specified in RFC2445. According to RFC2445 we should always end with CRLF but the CalDAV spec says that normalising XML parsers often muck with it and may remove the CR. We accept either case.
-
ValueReplacement
-
Return values from the current row for replacing into a template.
-
$Value
-
-
Value
-
Gets the value of a field in the record currently assigned to this editor.
-
Value
-
Get/Set the content of the property
-
VCalendar
-
Apply standard properties for a VCalendar
-
Validate
-
Validate the information the user submitted
-
Validate
-
Validates the form according to it's rules.
-
Validation
-
Initialise a new validation.
-
Validation
-
Rules used for validation of form fields.
-
Validation.php
-
-
valid_date_format
-
Check that the given string matches the user's date format.
-
valid_email_format
-
Check that the given string is a valid email address.
-
vCalendar
-
A Class for representing components within an vComponent
-
vCalendar.php
-
-
Value
-
Get/Set the content of the property
-
vComponent
-
A Class for representing components within an vComponent
-
vComponent.php
-
-
vProperty
-
A Class for representing properties within a vComponent (VCALENDAR or VCARD)