Documentation is available at constants.php
- <?php
- /* ******************************************************************** */
- /* CATALYST PHP Source Code */
- /* -------------------------------------------------------------------- */
- /* This program is free software; you can redistribute it and/or modify */
- /* it under the terms of the GNU General Public License as published by */
- /* the Free Software Foundation; either version 2 of the License, or */
- /* (at your option) any later version. */
- /* */
- /* This program is distributed in the hope that it will be useful, */
- /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
- /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
- /* GNU General Public License for more details. */
- /* */
- /* You should have received a copy of the GNU General Public License */
- /* along with this program; if not, write to: */
- /* The Free Software Foundation, Inc., 59 Temple Place, Suite 330, */
- /* Boston, MA 02111-1307 USA */
- /* -------------------------------------------------------------------- */
- /* */
- /* Filename: constants.php */
- /* Author: Paul Waite */
- /* Description: Useful contants for usage within Axyl. */
- /* */
- /* ******************************************************************** */
- /** @package utils *//** Kilobytes */
- ("KILOBYTE", 1024);
- /** Megabytes */
- ("MEGABYTE", 1048576);
- /** Gigabytes */
- ("GIGABYTE", 1073741824);
- // Time
- /** Ten years - used as 'forever' */
- ("SECS_10_YEARS", 315360000);
- /** One year */
- ("SECS_1_YEAR", 31536000);
- /** One month */
- ("SECS_1_MONTH", 2592000);
- /** One week */
- ("SECS_1_WEEK", 604800);
- /** One day */
- ("SECS_1_DAY", 86400);
- /** 12 hours */
- ("SECS_12_HOURS", 43200);
- /** 8 hours */
- ("SECS_8_HOURS", 28800);
- /** 4 hours */
- ("SECS_4_HOURS", 14400);
- /** 1 hour */
- ("SECS_1_HOUR", 3600);
- /** 20 minutes */
- ("SECS_20_MINS", 1200);
- /** Field delimiter used in record structures */
- ("FIELD_DELIM", "^_^");
- /** Record delimiter used in record lists */
- ("RECORD_DELIM", "~_~");
- // -------------------------------------------------------------------------
- ?>
Documentation generated by phpDocumentor 1.3.0RC3