X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=include%2Fconstants.php;h=38a85b5de8475fb612a74da2336152a9cf9502fd;hp=1fd2cd0400018e0702f550e9ee4aede045b9d7fc;hb=0693dd5b7fc85f38d9f81b1e3fff93b53091499c;hpb=61a5a23236f7633a2be8ca02eaec138678576d52 diff --git a/include/constants.php b/include/constants.php index 1fd2cd04..38a85b5d 100644 --- a/include/constants.php +++ b/include/constants.php @@ -197,6 +197,7 @@ define('SM_ABOOK_FIELD_LABEL', 4); * @since 1.5.2 */ define('SQ_TYPE_INT', 'int'); +define('SQ_TYPE_BIGINT', 'bigint'); define('SQ_TYPE_STRING', 'string'); define('SQ_TYPE_BOOL', 'bool'); define('SQ_TYPE_ARRAY', 'array'); @@ -259,3 +260,32 @@ define('SMOPT_SIZE_NORMAL', 5); define('SMOPT_SAVE_DEFAULT', 'save_option'); define('SMOPT_SAVE_NOOP', 'save_option_noop'); +// Convenience array of values 'a' through 'z' +$a_to_z = array( + 'a' => 'a', + 'b' => 'b', + 'c' => 'c', + 'd' => 'd', + 'e' => 'e', + 'f' => 'f', + 'g' => 'g', + 'h' => 'h', + 'i' => 'i', + 'j' => 'j', + 'k' => 'k', + 'l' => 'l', + 'm' => 'm', + 'n' => 'n', + 'o' => 'o', + 'p' => 'p', + 'q' => 'q', + 'r' => 'r', + 's' => 's', + 't' => 't', + 'u' => 'u', + 'v' => 'v', + 'w' => 'w', + 'x' => 'x', + 'y' => 'y', + 'z' => 'z', + );