Element index for package go-utils
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ k ]
[ m ]
[ n ]
[ o ]
[ p ]
[ q ]
[ r ]
[ s ]
[ t ]
[ v ]
[ w ]
[ _ ]
top
top
top
top
d
- Date.class.inc.php
- procedural page Date.class.inc.php
- Date
- in file Date.class.inc.php, class Date
This class has functions that handle dates and takes the user's date preferences into account.
- date_add
- in file Date.class.inc.php, method Date::date_add()
Add a period to a unix timestamp
- delete
- in file filesystem.class.inc, method filesystem::delete()
Delete a file or folder
- delete_file
- in file filesystem.class.inc, method filesystem::delete_file()
Abstract method that is called when a file is deleted
- delete_folder
- in file filesystem.class.inc, method filesystem::delete_folder()
Abstract method that is called when a folder is deleted
top
e
- empty_to_stripe
- in file String.class.inc.php, method String::empty_to_stripe()
Checks for empty string and returns stripe when empty
- enriched_to_html
- in file String.class.inc.php, method String::enriched_to_html()
Convert an enriched formated string to HTML format
top
f
- $fields
- in file go_template_parser.class.inc.php, variable go_template_parser::$fields
- File.class.inc.php
- procedural page File.class.inc.php
- filesystem.class.inc
- procedural page filesystem.class.inc
- File
- in file File.class.inc.php, class File
This file contains functions for file operations.
- filesystem
- in file filesystem.class.inc, method filesystem::filesystem()
Constructor. Inititates parent db class and defines if Group-Office permissions should be used. In most cases they should be used but when you just want to fetch some files as an administrator you can disable them.
- filesystem
- in file filesystem.class.inc, class filesystem
This class contains functions for filesytem operations
- format
- in file Date.class.inc.php, method Date::format()
- format
- in file Number.class.inc.php, method Number::format()
Format a number by using the user preferences
- format_name
- in file String.class.inc.php, method String::format_name()
Formats a name in Group-Office
- format_size
- in file Number.class.inc.php, method Number::format_size()
Format a size to a human readable format.
top
g
- go_template_parser.class.inc.php
- procedural page go_template_parser.class.inc.php
- getmicrotime
- in file Date.class.inc.php, method Date::getmicrotime()
Get the current server time in microseconds
- get_dateformat
- in file Date.class.inc.php, method Date::get_dateformat()
Takes two Group-Office settings like Ymd and - and converts this into Y-m-d
- get_directory_size
- in file File.class.inc.php, method File::get_directory_size()
- get_email_from_string
- in file String.class.inc.php, method String::get_email_from_string()
Grab an e-mail address out of a string
- get_email_validation_regex
- in file String.class.inc.php, method String::get_email_validation_regex()
Get the regex used for validating an email address Requires the Top Level Domain to be between 2 and 6 alphanumeric chars
- get_extension
- in file File.class.inc.php, method File::get_extension()
Returns the extension of a filename
- get_files
- in file filesystem.class.inc, method filesystem::get_files()
Get an array of files in a folder
- get_files_sorted
- in file filesystem.class.inc, method filesystem::get_files_sorted()
returns all files of a folder sorted based on the result of a function passed that is performed on the pathname. (For example filesize();)
- get_filetype_description
- in file File.class.inc.php, method File::get_filetype_description()
- get_filetype_image
- in file File.class.inc.php, method File::get_filetype_image()
- get_folders
- in file filesystem.class.inc, method filesystem::get_folders()
Get an array of folders
- get_folders_sorted
- in file filesystem.class.inc, method filesystem::get_folders_sorted()
returns all subfolders of a folder sorted based on the result of a function passed that is performed on the pathname. (For example filesize();)
- get_html_body
- in file String.class.inc.php, method String::get_html_body()
Return only the contents of the body tag from a HTML page
- get_mime
- in file File.class.inc.php, method File::get_mime()
- get_next_recurrence_time
- in file Date.class.inc.php, method Date::get_next_recurrence_time()
Calculates the next occurence of a recurring event
- get_parent_path
- in file filesystem.class.inc, method filesystem::get_parent_path()
Get the parent path of a file or folder
- get_quota
- in file filesystem.class.inc, method filesystem::get_quota()
Get the users quota of the local filesystem
- get_sql_queries
- in file String.class.inc.php, method String::get_sql_queries()
Get's all queries from an SQL dump file in an array
- get_text
- in file html2text.class.inc, method html2text::get_text()
Returns the text, converted from HTML.
- get_timestamp
- in file Date.class.inc.php, method Date::get_timestamp()
- get_timezone_offset
- in file Date.class.inc.php, method Date::get_timezone_offset()
- get_usedspace
- in file filesystem.class.inc, method filesystem::get_usedspace()
Get the diskspace used by a folder
- go_template_parser
- in file go_template_parser.class.inc.php, class go_template_parser
Parses a template
top
h
- $hightlight_bad_tags
- in file highlighter.class.inc, variable highlight::$hightlight_bad_tags
- $html
- in file html2text.class.inc, variable html2text::$html
Contains the HTML content to convert.
- highlighter.class.inc
- procedural page highlighter.class.inc
- html2text.class.inc
- procedural page html2text.class.inc
- htmlparser.class.inc
- procedural page htmlparser.class.inc
- has_read_permission
- in file filesystem.class.inc, method filesystem::has_read_permission()
Returns true if the path is readable
- has_write_permission
- in file filesystem.class.inc, method filesystem::has_write_permission()
Returns true if the path is writable
- hex2dec
- in file String.class.inc.php, method String::hex2dec()
Returns an array with RGB color (e.g. R128 G126 B124) from a hex html color code (e.g. #F7F7F7)
- highlight
- in file highlighter.class.inc, method highlight::highlight()
- highlight
- in file highlighter.class.inc, class highlight
This class highlights text matches a search string (keyword) in html based documents, without destroying html-tags.
- highlighter
- in file highlighter.class.inc, method highlight::highlighter()
- html2text
- in file html2text.class.inc, class html2text
Takes HTML and converts it to formatted, plain text.
- html2text
- in file html2text.class.inc, method html2text::html2text()
Constructor.
- HtmlParser
- in file htmlparser.class.inc, method HtmlParser::HtmlParser()
Constructor.
- HtmlParser
- in file htmlparser.class.inc, class HtmlParser
Class HtmlParser.
- HtmlParser_ForFile
- in file htmlparser.class.inc, function HtmlParser_ForFile()
- HtmlParser_ForURL
- in file htmlparser.class.inc, function HtmlParser_ForURL()
top
i
- $iHtmlCurrentChar
- in file htmlparser.class.inc, variable HtmlParser::$iHtmlCurrentChar
- $iHtmlText
- in file htmlparser.class.inc, variable HtmlParser::$iHtmlText
- $iHtmlTextIndex
- in file htmlparser.class.inc, variable HtmlParser::$iHtmlTextIndex
- $iHtmlTextLength
- in file htmlparser.class.inc, variable HtmlParser::$iHtmlTextLength
- $iNodeAttributes
- in file htmlparser.class.inc, variable HtmlParser::$iNodeAttributes
Field iNodeAttributes.
- $iNodeName
- in file htmlparser.class.inc, variable HtmlParser::$iNodeName
Field iNodeName.
- $iNodeType
- in file htmlparser.class.inc, variable HtmlParser::$iNodeType
Field iNodeType.
- $iNodeValue
- in file htmlparser.class.inc, variable HtmlParser::$iNodeValue
Field iNodeValue.
- ical_freq_to_repeat_type
- in file Date.class.inc.php, method Date::ical_freq_to_repeat_type()
- isValidTagIdentifier
- in file htmlparser.class.inc, method HtmlParser::isValidTagIdentifier()
- is_sub_dir
- in file filesystem.class.inc, method filesystem::is_sub_dir()
Check if a path is a subdirectory of another path.
top
top
top
n
- Number.class.inc.php
- procedural page Number.class.inc.php
- NODE_TYPE_COMMENT
- in file htmlparser.class.inc, constant NODE_TYPE_COMMENT
- NODE_TYPE_DONE
- in file htmlparser.class.inc, constant NODE_TYPE_DONE
- NODE_TYPE_ELEMENT
- in file htmlparser.class.inc, constant NODE_TYPE_ELEMENT
- NODE_TYPE_ENDELEMENT
- in file htmlparser.class.inc, constant NODE_TYPE_ENDELEMENT
- NODE_TYPE_START
- in file htmlparser.class.inc, constant NODE_TYPE_START
Copyright (c) 2003 Jose Solorzano. All rights reserved.
- NODE_TYPE_TEXT
- in file htmlparser.class.inc, constant NODE_TYPE_TEXT
- Number
- in file Number.class.inc.php, class Number
This class contains functions that perform operations on numbers. It formats numbers according to the user preferences.
top
top
top
top
r
- $replace
- in file html2text.class.inc, variable html2text::$replace
List of pattern replacements corresponding to patterns searched.
- $replacement
- in file highlighter.class.inc, variable highlight::$replacement
- readTag
- in file htmlparser.class.inc, method HtmlParser::readTag()
- readValueInTag
- in file htmlparser.class.inc, method HtmlParser::readValueInTag()
- REPEAT_DAILY
- in file Date.class.inc.php, constant REPEAT_DAILY
- REPEAT_MONTH_DATE
- in file Date.class.inc.php, constant REPEAT_MONTH_DATE
- REPEAT_MONTH_DAY
- in file Date.class.inc.php, constant REPEAT_MONTH_DAY
- REPEAT_NONE
- in file Date.class.inc.php, constant REPEAT_NONE
Define some constants
- REPEAT_WEEKLY
- in file Date.class.inc.php, constant REPEAT_WEEKLY
- REPEAT_YEARLY
- in file Date.class.inc.php, constant REPEAT_YEARLY
- replace_once
- in file String.class.inc.php, method String::replace_once()
- rstrpos
- in file String.class.inc.php, method String::rstrpos()
Reverse strpos. couldn't get PHP strrpos to work with offset
top
s
- $search
- in file html2text.class.inc, variable html2text::$search
List of preg* regular expression patterns to search for, used in conjunction with $replace.
- String.class.inc.php
- procedural page String.class.inc.php
- setTextIndex
- in file htmlparser.class.inc, method HtmlParser::setTextIndex()
- set_html
- in file html2text.class.inc, method html2text::set_html()
Loads source HTML into memory, either from $source string or a file.
- shift_days_to_gmt
- in file Date.class.inc.php, method Date::shift_days_to_gmt()
- shift_days_to_local
- in file Date.class.inc.php, method Date::shift_days_to_local()
- size
- in file filesystem.class.inc, method filesystem::size()
Calculate the size of a folder
- skipBlanksInTag
- in file htmlparser.class.inc, method HtmlParser::skipBlanksInTag()
- skipEndOfTag
- in file htmlparser.class.inc, method HtmlParser::skipEndOfTag()
- skipEqualsInTag
- in file htmlparser.class.inc, method HtmlParser::skipEqualsInTag()
- skipInTag
- in file htmlparser.class.inc, method HtmlParser::skipInTag()
- skipToBlanksInTag
- in file htmlparser.class.inc, method HtmlParser::skipToBlanksInTag()
- skipToBlanksOrEqualsInTag
- in file htmlparser.class.inc, method HtmlParser::skipToBlanksOrEqualsInTag()
- skipToElement
- in file htmlparser.class.inc, method HtmlParser::skipToElement()
- skipToInTag
- in file htmlparser.class.inc, method HtmlParser::skipToInTag()
- skipToStringInTag
- in file htmlparser.class.inc, method HtmlParser::skipToStringInTag()
Returns text between current position and $needle, inclusive, or "" if not found. The current index is moved to a point after the location of $needle, or not moved at all if nothing is found.
- split_name
- in file String.class.inc.php, method String::split_name()
Give it a full name and it tries to determine the First, Middle and Lastname
- String
- in file String.class.inc.php, class String
This class contains functions for string operations
- strip_extension
- in file File.class.inc.php, method File::strip_extension()
Return a filename without extension
top
t
- $tags
- in file go_template_parser.class.inc.php, variable go_template_parser::$tags
- $text
- in file html2text.class.inc, variable html2text::$text
Contains the converted, formatted text.
- text_to_html
- in file String.class.inc.php, method String::text_to_html()
Convert plain text to HTML
- to_db_date
- in file Date.class.inc.php, method Date::to_db_date()
Convert a Group-Office date to MySQL date format
- to_input_format
- in file Date.class.inc.php, method Date::to_input_format()
Reformat a date string formatted by Group-Office user preference to a string that can be read by strtotime related PHP functions
- to_phpnumber
- in file Number.class.inc.php, method Number::to_phpnumber()
Conver a number formatted by using the user preferences to a number understood by PHP
- to_unixtime
- in file Date.class.inc.php, method Date::to_unixtime()
Takes a date string formatted by Group-Office user preference and turns it into a unix timestamp.
- trim_lines
- in file String.class.inc.php, method String::trim_lines()
top
v
- validate_email
- in file String.class.inc.php, method String::validate_email()
Check if an email adress is in a valid format
top
w
- $width
- in file html2text.class.inc, variable html2text::$width
Maximum width of the formatted text, in columns.
top
|
|