format.php

来自「Bug tracker, and reporter.」· PHP 代码 · 共 52 行

PHP
52
字号
<?php/** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@zend.com so we can send you a copy immediately. * * @category   Zend * @package    Zend_Locale * @subpackage Format * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @version    $Id: Format.php 8969 2008-03-21 18:12:46Z thomas $ * @license    http://framework.zend.com/license/new-bsd     New BSD License *//** * include needed classes */require_once 'Zend/Locale/Data.php';/** * @category   Zend * @package    Zend_Locale * @subpackage Format * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license    http://framework.zend.com/license/new-bsd     New BSD License */class Zend_Locale_Format{    const STANDARD   = 'STANDARD';    private static $_Options = array('date_format'   => null,                                     'number_format' => null,                                     'format_type'   => 'iso',                                     'fix_date'      => false,                                     'locale'        => null,                                     'cache'         => null,                                     'precision'     => null);    private static $_signs = array(        'Latn' => array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9'), // Latn - default latin        'Arab' => array( '贍', '佟', '佗', '伲', '伽', '佶', '佴', '侑', '侉', '侃'), // 0660 - 0669 arabic        'Deva' => array( '啷

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?