ALO_EMAIL_AUTH
ALO_EMAIL_AUTH
Whether to use authentication
Alo |
Controller |
Alo | The global framework class |
EasyPeasyICS | Class EasyPeasyICS. |
Kint | |
Kint_Decorators_Concise | |
Kint_Decorators_Plain | |
Kint_Decorators_Rich | |
Kint_Parsers_ArrayObject | |
Kint_Parsers_ClassMethods | |
Kint_Parsers_ClassStatics | |
Kint_Parsers_Color | |
Kint_Parsers_Json | |
Kint_Parsers_Microtime | |
Kint_Parsers_SplFileInfo | |
Kint_Parsers_SplObjectStorage | |
Kint_Parsers_Timestamp | |
Kint_Parsers_Xml | |
kintParser | |
kintVariableData | |
Log | Logs messages |
ntlm_sasl_client_class | |
PHPMailer | PHPMailer - PHP email creation and transport class. |
phpmailerException | PHPMailer exception handler |
POP3 | PHPMailer POP-Before-SMTP Authentication Class. |
SMTP | PHPMailer RFC821 SMTP email transport class. |
tln_deent(string $attvalue, string $regex, boolean $hex = false) : boolean
Translates entities into literal values so they can be checked.
string | $attvalue | the by-ref value to check. |
string | $regex | the regular expression to check against. |
boolean | $hex | whether the entites are hexadecimal. |
True or False depending on whether there were matches.
tln_defang(string $attvalue) : \Void,
This function checks attribute values for entity-encoded values and returns them translated into 8-bit strings so we can run checks on them.
string | $attvalue | A string to run entity check against. |
modifies a reference value.
tln_findnxreg(string $body, integer $offset, string $reg) : array|boolean
This function takes a PCRE-style regexp and tries to match it within the string.
string | $body | The string to look for needle in. |
integer | $offset | Start looking from here. |
string | $reg | A PCRE-style regex to match. |
Returns a false if no matches found, or an array with the following members:
tln_findnxstr(string $body, integer $offset, string $needle) : integer
This function looks for the next character within a string. It's really just a glorified "strpos", except it catches the failures nicely.
string | $body | The string to look for needle in. |
integer | $offset | Start looking from this position. |
string | $needle | The character/string to look for. |
location of the next occurrence of the needle, or strlen($body) if needle wasn't found.
tln_fixatts(string $tagname, array $attary, array $rm_attnames, array $bad_attvals, array $add_attr_to_tag, string $trans_image_path, boolean $block_external_images) : Array
This function runs various checks against the attributes.
string | $tagname | String with the name of the tag. |
array | $attary | Array with all tag attributes. |
array | $rm_attnames | See description for tln_sanitize |
array | $bad_attvals | See description for tln_sanitize |
array | $add_attr_to_tag | See description for tln_sanitize |
string | $trans_image_path | |
boolean | $block_external_images |
with modified attributes.
tln_getnxtag(string $body, integer $offset) : array|boolean
This function looks for the next tag.
string | $body | String where to look for the next tag. |
integer | $offset | Start looking from here. |
false if no more tags exist in the body, or an array with the following members:
tln_sanitize(string $body, array $tag_list, array $rm_tags_with_content, array $self_closing_tags, boolean $force_tag_closing, array $rm_attnames, array $bad_attvals, array $add_attr_to_tag, string $trans_image_path, boolean $block_external_images) : string
string | $body | The HTML you wish to filter |
array | $tag_list | see description above |
array | $rm_tags_with_content | see description above |
array | $self_closing_tags | see description above |
boolean | $force_tag_closing | see description above |
array | $rm_attnames | see description above |
array | $bad_attvals | see description above |
array | $add_attr_to_tag | see description above |
string | $trans_image_path | |
boolean | $block_external_images |
Sanitized html safe to show on your pages.
tln_skipspace(string $body, integer $offset) : integer
This function skips any whitespace from the current position within a string and to the next non-whitespace value.
string | $body | the string |
integer | $offset | the offset within the string where we should start looking for the next non-whitespace character. |
the location within the $body where the next non-whitespace char is located.
tln_tagprint(string $tagname, array $attary, integer $tagtype) : string
This function returns the final tag out of the tag name, an array of attributes, and the type of the tag. This function is called by tln_sanitize internally.
string | $tagname | the name of the tag. |
array | $attary | the array of attributes and their values |
integer | $tagtype | The type of the tag (see in comments). |
A string with the final tag representation.
tln_unspace(string $attvalue) : \Void,
Kill any tabs, newlines, or carriage returns. Our friends the makers of the browser with 95% market value decided that it'd be funny to make "java[tab]script" be just as good as "javascript".
string | $attvalue | The attribute value before extraneous spaces removed. |
modifies a reference value.