\

Interfaces

PHPExcel_CachedObjectStorage_ICache PHPExcel_CachedObjectStorage_ICache
PHPExcel_Cell_IValueBinder PHPExcel_Cell_IValueBinder
PHPExcel_IComparable PHPExcel_IComparable
PHPExcel_Reader_IReader PHPExcel_Reader_IReader
PHPExcel_Reader_IReadFilter PHPExcel_Reader_IReadFilter
PHPExcel_RichText_ITextElement PHPExcel_RichText_ITextElement
PHPExcel_Writer_IWriter PHPExcel_Writer_IWriter
SessionHandlerInterface SessionHandlerInterface

Classes

Admin Admin/Base Controller 在这里可以定义admin后台需要的通用方法
Admin_Controller Admin/Base Controller 在这里可以定义admin后台需要的通用方法
Admin_model Model Class
Api_Controller Admin/Base Controller 在这里可以定义admin后台需要的通用方法
CholeskyDecomposition
CI_Benchmark Benchmark Class
CI_Cache CodeIgniter Caching Class
CI_Cache_apc CodeIgniter APC Caching Class
CI_Cache_dummy CodeIgniter Dummy Caching Class
CI_Cache_file CodeIgniter File Caching Class
CI_Cache_memcached CodeIgniter Memcached Caching Class
CI_Cache_redis CodeIgniter Redis Caching Class
CI_Cache_wincache CodeIgniter Wincache Caching Class
CI_Calendar CodeIgniter Calendar Class
CI_Cart Shopping Cart Class
CI_Config Config Class
CI_Controller Application Controller Class
CI_DB Database Driver Class
CI_DB_Cache Database Cache Class
CI_DB_cubrid_driver CUBRID Database Adapter Class
CI_DB_cubrid_forge CUBRID Forge Class
CI_DB_cubrid_result CUBRID Result Class
CI_DB_cubrid_utility CUBRID Utility Class
CI_DB_driver Database Driver Class
CI_DB_forge Database Forge Class
CI_DB_ibase_driver Firebird/Interbase Database Adapter Class
CI_DB_ibase_forge Interbase/Firebird Forge Class
CI_DB_ibase_result Interbase/Firebird Result Class
CI_DB_ibase_utility Interbase/Firebird Utility Class
CI_DB_mssql_driver MS SQL Database Adapter Class
CI_DB_mssql_forge MS SQL Forge Class
CI_DB_mssql_result MSSQL Result Class
CI_DB_mssql_utility MS SQL Utility Class
CI_DB_mysql_driver MySQL Database Adapter Class
CI_DB_mysql_forge MySQL Forge Class
CI_DB_mysql_result MySQL Result Class
CI_DB_mysql_utility MySQL Utility Class
CI_DB_mysqli_driver MySQLi Database Adapter Class
CI_DB_mysqli_forge MySQLi Forge Class
CI_DB_mysqli_result MySQLi Result Class
CI_DB_mysqli_utility MySQLi Utility Class
CI_DB_oci8_driver oci8 Database Adapter Class
CI_DB_oci8_forge Oracle Forge Class
CI_DB_oci8_result oci8 Result Class
CI_DB_oci8_utility Oracle Utility Class
CI_DB_odbc_driver ODBC Database Adapter Class
CI_DB_odbc_forge ODBC Forge Class
CI_DB_odbc_result ODBC Result Class
CI_DB_odbc_utility ODBC Utility Class
CI_DB_pdo_4d_driver PDO 4D Database Adapter Class
CI_DB_pdo_4d_forge PDO 4D Forge Class
CI_DB_pdo_cubrid_driver PDO CUBRID Database Adapter Class
CI_DB_pdo_cubrid_forge PDO CUBRID Forge Class
CI_DB_pdo_dblib_driver PDO DBLIB Database Adapter Class
CI_DB_pdo_dblib_forge PDO DBLIB Forge Class
CI_DB_pdo_driver PDO Database Adapter Class
CI_DB_pdo_firebird_driver PDO Firebird Database Adapter Class
CI_DB_pdo_firebird_forge PDO Firebird Forge Class
CI_DB_pdo_forge PDO Forge Class
CI_DB_pdo_ibm_driver PDO IBM DB2 Database Adapter Class
CI_DB_pdo_ibm_forge PDO IBM DB2 Forge Class
CI_DB_pdo_informix_driver PDO Informix Database Adapter Class
CI_DB_pdo_informix_forge PDO Informix Forge Class
CI_DB_pdo_mysql_driver PDO MySQL Database Adapter Class
CI_DB_pdo_mysql_forge PDO MySQL Forge Class
CI_DB_pdo_oci_driver PDO Oracle Database Adapter Class
CI_DB_pdo_oci_forge PDO Oracle Forge Class
CI_DB_pdo_odbc_driver PDO ODBC Database Adapter Class
CI_DB_pdo_odbc_forge PDO ODBC Forge Class
CI_DB_pdo_pgsql_driver PDO PostgreSQL Database Adapter Class
CI_DB_pdo_pgsql_forge PDO PostgreSQL Forge Class
CI_DB_pdo_result PDO Result Class
CI_DB_pdo_sqlite_driver PDO SQLite Database Adapter Class
CI_DB_pdo_sqlite_forge PDO SQLite Forge Class
CI_DB_pdo_sqlsrv_driver PDO SQLSRV Database Adapter Class
CI_DB_pdo_sqlsrv_forge PDO SQLSRV Forge Class
CI_DB_pdo_utility PDO Utility Class
CI_DB_postgre_driver Postgre Database Adapter Class
CI_DB_postgre_forge Postgre Forge Class
CI_DB_postgre_result Postgres Result Class
CI_DB_postgre_utility Postgre Utility Class
CI_DB_query_builder Query Builder Class
CI_DB_result Database Result Class
CI_DB_sqlite3_driver SQLite3 Database Adapter Class
CI_DB_sqlite3_forge SQLite3 Forge Class
CI_DB_sqlite3_result SQLite3 Result Class
CI_DB_sqlite3_utility SQLite3 Utility Class
CI_DB_sqlite_driver SQLite Database Adapter Class
CI_DB_sqlite_forge SQLite Forge Class
CI_DB_sqlite_result SQLite Result Class
CI_DB_sqlite_utility SQLite Utility Class
CI_DB_sqlsrv_driver SQLSRV Database Adapter Class
CI_DB_sqlsrv_forge SQLSRV Forge Class
CI_DB_sqlsrv_result SQLSRV Result Class
CI_DB_sqlsrv_utility SQLSRV Utility Class
CI_DB_utility Database Utility Class
CI_Driver CodeIgniter Driver Class
CI_Driver_Library CodeIgniter Driver Library Class
CI_Email CodeIgniter Email Class
CI_Encrypt CodeIgniter Encryption Class
CI_Encryption CodeIgniter Encryption Class
CI_Exceptions Exceptions Class
CI_Form_validation Form Validation Class
CI_FTP FTP Class
CI_Hooks Hooks Class
CI_Image_lib Image Manipulation class
CI_Input Input Class
CI_Javascript Javascript Class
CI_Jquery Jquery Class
CI_Lang Language Class
CI_Loader Loader Class
CI_Log Logging Class
CI_Migration Migration Class
CI_Model Model Class
CI_Output Output Class
CI_Pagination Pagination Class
CI_Parser Parser Class
CI_Profiler CodeIgniter Profiler Class
CI_Router Router Class
CI_Security Security Class
CI_Session CodeIgniter Session Class
CI_Session_database_driver CodeIgniter Session Database Driver
CI_Session_driver CodeIgniter Session Driver Class
CI_Session_files_driver CodeIgniter Session Files Driver
CI_Session_memcached_driver CodeIgniter Session Memcached Driver
CI_Session_redis_driver CodeIgniter Session Redis Driver
CI_Table HTML Table Generating Class
CI_Trackback Trackback Class
CI_Typography Typography Class
CI_Unit_test Unit Testing Class
CI_Upload File Uploading Class
CI_URI URI Class
CI_User_agent User Agent Class
CI_Utf8 Utf8 Class
CI_Xmlrpc XML-RPC request handler class
CI_Xmlrpcs XML-RPC server class
CI_Zip Zip Compression Class
Curl CodeIgniter Curl Class
EigenvalueDecomposition
Excel PHPExcel
Login Application Controller Class
Obtain Admin/Base Controller 在这里可以定义admin后台需要的通用方法
PclZip
PHPExcel PHPExcel
PHPExcel_Autoloader PHPExcel
PHPExcel_Best_Fit PHPExcel_Best_Fit
PHPExcel_CachedObjectStorage_APC PHPExcel_CachedObjectStorage_APC
PHPExcel_CachedObjectStorage_CacheBase PHPExcel_CachedObjectStorage_CacheBase
PHPExcel_CachedObjectStorage_DiscISAM PHPExcel_CachedObjectStorage_DiscISAM
PHPExcel_CachedObjectStorage_Igbinary PHPExcel_CachedObjectStorage_Igbinary
PHPExcel_CachedObjectStorage_Memcache PHPExcel_CachedObjectStorage_Memcache
PHPExcel_CachedObjectStorage_Memory PHPExcel_CachedObjectStorage_Memory
PHPExcel_CachedObjectStorage_MemoryGZip PHPExcel_CachedObjectStorage_MemoryGZip
PHPExcel_CachedObjectStorage_MemorySerialized PHPExcel_CachedObjectStorage_MemorySerialized
PHPExcel_CachedObjectStorage_PHPTemp PHPExcel_CachedObjectStorage_PHPTemp
PHPExcel_CachedObjectStorage_SQLite PHPExcel_CachedObjectStorage_SQLite
PHPExcel_CachedObjectStorage_SQLite3 PHPExcel_CachedObjectStorage_SQLite3
PHPExcel_CachedObjectStorage_Wincache PHPExcel_CachedObjectStorage_Wincache
PHPExcel_CachedObjectStorageFactory PHPExcel_CachedObjectStorageFactory
PHPExcel_CalcEngine_CyclicReferenceStack PHPExcel_CalcEngine_CyclicReferenceStack
PHPExcel_CalcEngine_Logger PHPExcel_CalcEngine_Logger
PHPExcel_Calculation PHPExcel_Calculation (Multiton)
PHPExcel_Calculation_Database PHPExcel_Calculation_Database
PHPExcel_Calculation_DateTime PHPExcel_Calculation_DateTime
PHPExcel_Calculation_Engineering PHPExcel_Calculation_Engineering
PHPExcel_Calculation_Exception PHPExcel_Calculation_Exception
PHPExcel_Calculation_ExceptionHandler PHPExcel_Calculation_ExceptionHandler
PHPExcel_Calculation_Financial PHPExcel_Calculation_Financial
PHPExcel_Calculation_FormulaParser PHPExcel_Calculation_FormulaParser
PHPExcel_Calculation_FormulaToken PHPExcel_Calculation_FormulaToken
PHPExcel_Calculation_Function PHPExcel_Calculation_Function
PHPExcel_Calculation_Functions PHPExcel_Calculation_Functions
PHPExcel_Calculation_Logical PHPExcel_Calculation_Logical
PHPExcel_Calculation_LookupRef PHPExcel_Calculation_LookupRef
PHPExcel_Calculation_MathTrig PHPExcel_Calculation_MathTrig
PHPExcel_Calculation_Statistical PHPExcel_Calculation_Statistical
PHPExcel_Calculation_TextData PHPExcel_Calculation_TextData
PHPExcel_Calculation_Token_Stack PHPExcel_Calculation_Token_Stack
PHPExcel_Cell PHPExcel_Cell
PHPExcel_Cell_AdvancedValueBinder PHPExcel_Cell_AdvancedValueBinder
PHPExcel_Cell_DataType PHPExcel_Cell_DataType
PHPExcel_Cell_DataValidation PHPExcel_Cell_DataValidation
PHPExcel_Cell_DefaultValueBinder PHPExcel_Cell_DefaultValueBinder
PHPExcel_Cell_Hyperlink PHPExcel_Cell_Hyperlink
PHPExcel_Chart PHPExcel_Chart
PHPExcel_Chart_Axis Created by PhpStorm.
PHPExcel_Chart_DataSeries PHPExcel_Chart_DataSeries
PHPExcel_Chart_DataSeriesValues PHPExcel_Chart_DataSeriesValues
PHPExcel_Chart_Exception PHPExcel_Chart_Exception
PHPExcel_Chart_GridLines Created by PhpStorm.
PHPExcel_Chart_Layout PHPExcel_Chart_Layout
PHPExcel_Chart_Legend PHPExcel_Chart_Legend
PHPExcel_Chart_PlotArea PHPExcel_Chart_PlotArea
PHPExcel_Chart_Properties Created by PhpStorm.
PHPExcel_Chart_Renderer_jpgraph PHPExcel_Chart_Renderer_jpgraph
PHPExcel_Chart_Title PHPExcel_Chart_Title
PHPExcel_Comment PHPExcel_Comment
PHPExcel_DocumentProperties PHPExcel_DocumentProperties
PHPExcel_DocumentSecurity PHPExcel_DocumentSecurity
PHPExcel_Exception PHPExcel_Exception
PHPExcel_Exponential_Best_Fit PHPExcel_Exponential_Best_Fit
PHPExcel_HashTable PHPExcel_HashTable
PHPExcel_Helper_HTML
PHPExcel_IOFactory PHPExcel_IOFactory
PHPExcel_Linear_Best_Fit PHPExcel_Linear_Best_Fit
PHPExcel_Logarithmic_Best_Fit PHPExcel_Logarithmic_Best_Fit
PHPExcel_NamedRange PHPExcel_NamedRange
PHPExcel_Polynomial_Best_Fit PHPExcel_Polynomial_Best_Fit
PHPExcel_Power_Best_Fit PHPExcel_Power_Best_Fit
PHPExcel_Reader_Abstract PHPExcel_Reader_Abstract
PHPExcel_Reader_CSV PHPExcel_Reader_CSV
PHPExcel_Reader_DefaultReadFilter PHPExcel_Reader_DefaultReadFilter
PHPExcel_Reader_Excel2003XML PHPExcel_Reader_Excel2003XML
PHPExcel_Reader_Excel2007 PHPExcel_Reader_Excel2007
PHPExcel_Reader_Excel2007_Chart PHPExcel_Reader_Excel2007_Chart
PHPExcel_Reader_Excel2007_Theme PHPExcel_Reader_Excel2007_Theme
PHPExcel_Reader_Excel5 PHPExcel_Reader_Abstract
PHPExcel_Reader_Excel5_Color
PHPExcel_Reader_Excel5_Color_BIFF5
PHPExcel_Reader_Excel5_Color_BIFF8
PHPExcel_Reader_Excel5_Color_BuiltIn
PHPExcel_Reader_Excel5_ErrorCode
PHPExcel_Reader_Excel5_Escher PHPExcel_Reader_Excel5_Escher
PHPExcel_Reader_Excel5_MD5 PHPExcel_Reader_Excel5_MD5
PHPExcel_Reader_Excel5_RC4 PHPExcel_Reader_Excel5_RC4
PHPExcel_Reader_Excel5_Style_Border
PHPExcel_Reader_Excel5_Style_FillPattern
PHPExcel_Reader_Exception PHPExcel_Reader_Exception
PHPExcel_Reader_Gnumeric PHPExcel_Reader_Gnumeric
PHPExcel_Reader_HTML PHPExcel root directory
PHPExcel_Reader_OOCalc PHPExcel_Reader_OOCalc
PHPExcel_Reader_SYLK PHPExcel_Reader_SYLK
PHPExcel_ReferenceHelper PHPExcel_ReferenceHelper (Singleton)
PHPExcel_RichText PHPExcel_RichText
PHPExcel_RichText_Run PHPExcel_RichText_Run
PHPExcel_RichText_TextElement PHPExcel_RichText_TextElement
PHPExcel_Settings PHPExcel_Settings
PHPExcel_Shared_CodePage PHPExcel_Shared_CodePage
PHPExcel_Shared_Date PHPExcel_Shared_Date
PHPExcel_Shared_Drawing PHPExcel_Shared_Drawing
PHPExcel_Shared_Escher PHPExcel_Shared_Escher
PHPExcel_Shared_Escher_DgContainer PHPExcel_Shared_Escher_DgContainer
PHPExcel_Shared_Escher_DgContainer_SpgrContainer PHPExcel_Shared_Escher_DgContainer_SpgrContainer
PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer
PHPExcel_Shared_Escher_DggContainer PHPExcel_Shared_Escher_DggContainer
PHPExcel_Shared_Escher_DggContainer_BstoreContainer PHPExcel_Shared_Escher_DggContainer_BstoreContainer
PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
PHPExcel_Shared_Excel5 PHPExcel_Shared_Excel5
PHPExcel_Shared_File PHPExcel_Shared_File
PHPExcel_Shared_Font PHPExcel_Shared_Font
PHPExcel_Shared_JAMA_LUDecomposition
PHPExcel_Shared_JAMA_Matrix
PHPExcel_Shared_JAMA_QRDecomposition
PHPExcel_Shared_OLE OLE package base class.
PHPExcel_Shared_OLE_ChainedBlockStream PHPExcel_Shared_OLE_ChainedBlockStream
PHPExcel_Shared_OLE_PPS Class for creating PPS's for OLE containers
PHPExcel_Shared_OLE_PPS_File Class for creating File PPS's for OLE containers
PHPExcel_Shared_OLE_PPS_Root Class for creating Root PPS's for OLE containers
PHPExcel_Shared_OLERead
PHPExcel_Shared_PasswordHasher PHPExcel_Shared_PasswordHasher
PHPExcel_Shared_String PHPExcel_Shared_String
PHPExcel_Shared_TimeZone PHPExcel_Shared_TimeZone
PHPExcel_Shared_XMLWriter PHPExcel_Shared_XMLWriter
PHPExcel_Shared_ZipArchive PHPExcel_Shared_ZipArchive
PHPExcel_Shared_ZipStreamWrapper PHPExcel_Shared_ZipStreamWrapper
PHPExcel_Style PHPExcel_Style
PHPExcel_Style_Alignment PHPExcel_Style_Alignment
PHPExcel_Style_Border PHPExcel_Style_Border
PHPExcel_Style_Borders PHPExcel_Style_Borders
PHPExcel_Style_Color PHPExcel_Style_Color
PHPExcel_Style_Conditional PHPExcel_Style_Conditional
PHPExcel_Style_Fill PHPExcel_Style_Fill
PHPExcel_Style_Font PHPExcel_Style_Font
PHPExcel_Style_NumberFormat PHPExcel_Style_NumberFormat
PHPExcel_Style_Protection PHPExcel_Style_Protection
PHPExcel_Style_Supervisor PHPExcel_Style_Supervisor
PHPExcel_Worksheet PHPExcel_Worksheet
PHPExcel_Worksheet_AutoFilter PHPExcel_Worksheet_AutoFilter
PHPExcel_Worksheet_AutoFilter_Column PHPExcel_Worksheet_AutoFilter_Column
PHPExcel_Worksheet_AutoFilter_Column_Rule PHPExcel_Worksheet_AutoFilter_Column_Rule
PHPExcel_Worksheet_BaseDrawing PHPExcel_Worksheet_BaseDrawing
PHPExcel_Worksheet_CellIterator PHPExcel_Worksheet_CellIterator
PHPExcel_Worksheet_Column PHPExcel_Worksheet_Column
PHPExcel_Worksheet_ColumnCellIterator PHPExcel_Worksheet_ColumnCellIterator
PHPExcel_Worksheet_ColumnDimension PHPExcel_Worksheet_ColumnDimension
PHPExcel_Worksheet_ColumnIterator PHPExcel_Worksheet_ColumnIterator
PHPExcel_Worksheet_Dimension PHPExcel_Worksheet_Dimension
PHPExcel_Worksheet_Drawing PHPExcel_Worksheet_Drawing
PHPExcel_Worksheet_Drawing_Shadow PHPExcel_Worksheet_Drawing_Shadow
PHPExcel_Worksheet_HeaderFooter PHPExcel_Worksheet_HeaderFooter
PHPExcel_Worksheet_HeaderFooterDrawing PHPExcel_Worksheet_HeaderFooterDrawing
PHPExcel_Worksheet_MemoryDrawing PHPExcel_Worksheet_MemoryDrawing
PHPExcel_Worksheet_PageMargins PHPExcel_Worksheet_PageMargins
PHPExcel_Worksheet_PageSetup PHPExcel_Worksheet_PageSetup
PHPExcel_Worksheet_Protection PHPExcel_Worksheet_Protection
PHPExcel_Worksheet_Row PHPExcel_Worksheet_Row
PHPExcel_Worksheet_RowCellIterator PHPExcel_Worksheet_RowCellIterator
PHPExcel_Worksheet_RowDimension PHPExcel_Worksheet_RowDimension
PHPExcel_Worksheet_RowIterator PHPExcel_Worksheet_RowIterator
PHPExcel_Worksheet_SheetView PHPExcel_Worksheet_SheetView
PHPExcel_WorksheetIterator PHPExcel_WorksheetIterator
PHPExcel_Writer_Abstract PHPExcel_Writer_Abstract
PHPExcel_Writer_CSV PHPExcel_Writer_CSV
PHPExcel_Writer_Excel2007 PHPExcel_Writer_Excel2007
PHPExcel_Writer_Excel2007_Chart PHPExcel_Writer_Excel2007_Chart
PHPExcel_Writer_Excel2007_Comments PHPExcel_Writer_Excel2007_Comments
PHPExcel_Writer_Excel2007_ContentTypes PHPExcel_Writer_Excel2007_ContentTypes
PHPExcel_Writer_Excel2007_DocProps PHPExcel_Writer_Excel2007_DocProps
PHPExcel_Writer_Excel2007_Drawing PHPExcel_Writer_Excel2007_Drawing
PHPExcel_Writer_Excel2007_Rels PHPExcel_Writer_Excel2007_Rels
PHPExcel_Writer_Excel2007_RelsRibbon PHPExcel_Writer_Excel2007_RelsRibbon
PHPExcel_Writer_Excel2007_RelsVBA PHPExcel_Writer_Excel2007_RelsVBA
PHPExcel_Writer_Excel2007_StringTable PHPExcel_Writer_Excel2007_StringTable
PHPExcel_Writer_Excel2007_Style PHPExcel_Writer_Excel2007_Style
PHPExcel_Writer_Excel2007_Theme PHPExcel_Writer_Excel2007_Theme
PHPExcel_Writer_Excel2007_Workbook PHPExcel_Writer_Excel2007_Workbook
PHPExcel_Writer_Excel2007_Worksheet PHPExcel_Writer_Excel2007_Worksheet
PHPExcel_Writer_Excel2007_WriterPart PHPExcel_Writer_Excel2007_WriterPart
PHPExcel_Writer_Excel5 PHPExcel_Writer_Excel5
PHPExcel_Writer_Excel5_BIFFwriter PHPExcel_Writer_Excel5_BIFFwriter
PHPExcel_Writer_Excel5_Escher PHPExcel_Shared_Escher_DggContainer_BstoreContainer
PHPExcel_Writer_Excel5_Font PHPExcel_Writer_Excel5_Font
PHPExcel_Writer_Excel5_Parser PHPExcel_Writer_Excel5_Parser
PHPExcel_Writer_Excel5_Workbook PHPExcel_Writer_Excel5_Workbook
PHPExcel_Writer_Excel5_Worksheet PHPExcel_Writer_Excel5_Worksheet
PHPExcel_Writer_Excel5_Xf PHPExcel_Writer_Excel5_Xf
PHPExcel_Writer_Exception PHPExcel_Writer_Exception
PHPExcel_Writer_HTML PHPExcel_Writer_HTML
PHPExcel_Writer_OpenDocument PHPExcel_Writer_OpenDocument
PHPExcel_Writer_OpenDocument_Cell_Comment PHPExcel_Writer_OpenDocument_Cell_Comment
PHPExcel_Writer_OpenDocument_Content PHPExcel_Writer_OpenDocument_Content
PHPExcel_Writer_OpenDocument_Meta PHPExcel_Writer_OpenDocument_Meta
PHPExcel_Writer_OpenDocument_MetaInf PHPExcel_Writer_OpenDocument_MetaInf
PHPExcel_Writer_OpenDocument_Mimetype PHPExcel
PHPExcel_Writer_OpenDocument_Settings PHPExcel_Writer_OpenDocument_Settings
PHPExcel_Writer_OpenDocument_Styles PHPExcel_Writer_OpenDocument_Styles
PHPExcel_Writer_OpenDocument_Thumbnails PHPExcel_Writer_OpenDocument_Thumbnails
PHPExcel_Writer_OpenDocument_WriterPart PHPExcel_Writer_OpenDocument_WriterPart
PHPExcel_Writer_PDF PHPExcel_Writer_PDF
PHPExcel_Writer_PDF_Core PHPExcel_Writer_PDF_Core
PHPExcel_Writer_PDF_DomPDF PHPExcel_Writer_PDF_DomPDF
PHPExcel_Writer_PDF_mPDF PHPExcel_Writer_PDF_mPDF
PHPExcel_Writer_PDF_tcPDF PHPExcel_Writer_PDF_tcPDF
Pinyin
SingularValueDecomposition
Test Admin/Base Controller 在这里可以定义admin后台需要的通用方法
Trading Admin/Base Controller 在这里可以定义admin后台需要的通用方法
Trading_model Model Class
trendClass PHPExcel_trendClass
Uploader Created by JetBrains PhpStorm.
User Admin/Base Controller 在这里可以定义admin后台需要的通用方法
User_model Model Class
Web Application Controller Class
Web_Controller Admin/Base Controller 在这里可以定义admin后台需要的通用方法
wxjssdk
XML_RPC_Client XML-RPC Client class
XML_RPC_Message XML-RPC Message class
XML_RPC_Response XML-RPC Response class
XML_RPC_Values XML-RPC Values class
ZY_Controller Admin/Base Controller 在这里可以定义admin后台需要的通用方法
ZY_Model Model Class

Constants

APP_ROOT

APP_ROOT = dirname(__FILE__) . DIRECTORY_SEPARATOR

APPPATH

APPPATH = $application_folder . DIRECTORY_SEPARATOR

ARGUMENT_BOUNDS_EXCEPTION

ARGUMENT_BOUNDS_EXCEPTION = -3

ARGUMENT_TYPE_EXCEPTION

ARGUMENT_TYPE_EXCEPTION = -2

ARRAY_LENGTH_EXCEPTION

ARRAY_LENGTH_EXCEPTION = -9

BASEPATH

BASEPATH = $system_path

CALCULATION_REGEXP_CELLREF

CALCULATION_REGEXP_CELLREF = '(((\w*)|(\'[^\']*\')|(\"[^\"]*\"))!)?\$?([a-z]{1,3})\$?(\d+)'

CALCULATION_REGEXP_NAMEDRANGE

CALCULATION_REGEXP_NAMEDRANGE = '(((\w*)|(\'.*\')|(\".*\"))!)?([_A-Z][_A-Z0-9\.]*)'

CI_VERSION

CI_VERSION = '3.1.2' : string

CodeIgniter Version

DATE_W3C

DATE_W3C = 'Y-m-d\TH:i:sP'

DEBUGMODE_ENABLED

DEBUGMODE_ENABLED = false

ENVIRONMENT

ENVIRONMENT = isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development'

EPS

EPS = 2.22E-16

EPS

EULER

EULER = 2.718281828459045

EULER

FCPATH

FCPATH = dirname(__FILE__) . DIRECTORY_SEPARATOR

FINANCIAL_MAX_ITERATIONS

FINANCIAL_MAX_ITERATIONS = 128

FINANCIAL_MAX_ITERATIONS

FINANCIAL_PRECISION

FINANCIAL_PRECISION = 1.0E-8

FINANCIAL_PRECISION

ICONV_ENABLED

ICONV_ENABLED = FALSE

IDENTIFIER_OLE

IDENTIFIER_OLE = pack('CCCCCCCC', 208, 207, 17, 224, 161, 177, 26, 225)

JAMALANG

JAMALANG = 'EN'

LOG_GAMMA_X_MAX_VALUE

LOG_GAMMA_X_MAX_VALUE = 2.55E+305

LOG_GAMMA_X_MAX_VALUE

M_2DIVPI

M_2DIVPI = 0.6366197723675814

2 / PI

MATRIX_DIMENSION_EXCEPTION

MATRIX_DIMENSION_EXCEPTION = -4

MATRIX_RANK_EXCEPTION

MATRIX_RANK_EXCEPTION = -8

MATRIX_SINGULAR_EXCEPTION

MATRIX_SINGULAR_EXCEPTION = -7

MATRIX_SPD_EXCEPTION

MATRIX_SPD_EXCEPTION = -6

MAX_ITERATIONS

MAX_ITERATIONS = 256

MAX_ITERATIONS

MAX_VALUE

MAX_VALUE = 1.2E+308

MAX_VALUE

MB_ENABLED

MB_ENABLED = FALSE

PASSWORD_BCRYPT

PASSWORD_BCRYPT = 1

PASSWORD_DEFAULT

PASSWORD_DEFAULT = PASSWORD_BCRYPT

PCLZIP_ATT_FILE_COMMENT

PCLZIP_ATT_FILE_COMMENT = 79006

PCLZIP_ATT_FILE_CONTENT

PCLZIP_ATT_FILE_CONTENT = 79005

PCLZIP_ATT_FILE_MTIME

PCLZIP_ATT_FILE_MTIME = 79004

PCLZIP_ATT_FILE_NAME

PCLZIP_ATT_FILE_NAME = 79001

PCLZIP_ATT_FILE_NEW_FULL_NAME

PCLZIP_ATT_FILE_NEW_FULL_NAME = 79003

PCLZIP_ATT_FILE_NEW_SHORT_NAME

PCLZIP_ATT_FILE_NEW_SHORT_NAME = 79002

PCLZIP_CB_POST_ADD

PCLZIP_CB_POST_ADD = 78004

PCLZIP_CB_POST_EXTRACT

PCLZIP_CB_POST_EXTRACT = 78002

PCLZIP_CB_PRE_ADD

PCLZIP_CB_PRE_ADD = 78003

PCLZIP_CB_PRE_EXTRACT

PCLZIP_CB_PRE_EXTRACT = 78001

PCLZIP_ERR_ALREADY_A_DIRECTORY

PCLZIP_ERR_ALREADY_A_DIRECTORY = -17

PCLZIP_ERR_BAD_CHECKSUM

PCLZIP_ERR_BAD_CHECKSUM = -13

PCLZIP_ERR_BAD_EXTENSION

PCLZIP_ERR_BAD_EXTENSION = -9

PCLZIP_ERR_BAD_EXTRACTED_FILE

PCLZIP_ERR_BAD_EXTRACTED_FILE = -7

PCLZIP_ERR_BAD_FORMAT

PCLZIP_ERR_BAD_FORMAT = -10

PCLZIP_ERR_DELETE_FILE_FAIL

PCLZIP_ERR_DELETE_FILE_FAIL = -11

PCLZIP_ERR_DIR_CREATE_FAIL

PCLZIP_ERR_DIR_CREATE_FAIL = -8

PCLZIP_ERR_DIRECTORY_RESTRICTION

PCLZIP_ERR_DIRECTORY_RESTRICTION = -21

PCLZIP_ERR_FILENAME_TOO_LONG

PCLZIP_ERR_FILENAME_TOO_LONG = -5

PCLZIP_ERR_INVALID_ARCHIVE_ZIP

PCLZIP_ERR_INVALID_ARCHIVE_ZIP = -14

PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE

PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE = -20

PCLZIP_ERR_INVALID_OPTION_VALUE

PCLZIP_ERR_INVALID_OPTION_VALUE = -16

PCLZIP_ERR_INVALID_PARAMETER

PCLZIP_ERR_INVALID_PARAMETER = -3

PCLZIP_ERR_INVALID_ZIP

PCLZIP_ERR_INVALID_ZIP = -6

PCLZIP_ERR_MISSING_FILE

PCLZIP_ERR_MISSING_FILE = -4

PCLZIP_ERR_MISSING_OPTION_VALUE

PCLZIP_ERR_MISSING_OPTION_VALUE = -15

PCLZIP_ERR_NO_ERROR

PCLZIP_ERR_NO_ERROR = 0

PCLZIP_ERR_READ_OPEN_FAIL

PCLZIP_ERR_READ_OPEN_FAIL = -2

PCLZIP_ERR_RENAME_FILE_FAIL

PCLZIP_ERR_RENAME_FILE_FAIL = -12

PCLZIP_ERR_UNSUPPORTED_COMPRESSION

PCLZIP_ERR_UNSUPPORTED_COMPRESSION = -18

PCLZIP_ERR_UNSUPPORTED_ENCRYPTION

PCLZIP_ERR_UNSUPPORTED_ENCRYPTION = -19

PCLZIP_ERR_USER_ABORTED

PCLZIP_ERR_USER_ABORTED = 2

PCLZIP_ERR_WRITE_OPEN_FAIL

PCLZIP_ERR_WRITE_OPEN_FAIL = -1

PCLZIP_ERROR_EXTERNAL

PCLZIP_ERROR_EXTERNAL = 0

PCLZIP_OPT_ADD_COMMENT

PCLZIP_OPT_ADD_COMMENT = 77013

PCLZIP_OPT_ADD_PATH

PCLZIP_OPT_ADD_PATH = 77002

PCLZIP_OPT_ADD_TEMP_FILE_OFF

PCLZIP_OPT_ADD_TEMP_FILE_OFF = 77022

PCLZIP_OPT_ADD_TEMP_FILE_ON

PCLZIP_OPT_ADD_TEMP_FILE_ON = 77021

PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD

PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD = 77020

PCLZIP_OPT_BY_EREG

PCLZIP_OPT_BY_EREG = 77010

PCLZIP_OPT_BY_INDEX

PCLZIP_OPT_BY_INDEX = 77009

PCLZIP_OPT_BY_NAME

PCLZIP_OPT_BY_NAME = 77008

PCLZIP_OPT_BY_PREG

PCLZIP_OPT_BY_PREG = 77011

PCLZIP_OPT_COMMENT

PCLZIP_OPT_COMMENT = 77012

PCLZIP_OPT_EXTRACT_AS_STRING

PCLZIP_OPT_EXTRACT_AS_STRING = 77006

PCLZIP_OPT_EXTRACT_DIR_RESTRICTION

PCLZIP_OPT_EXTRACT_DIR_RESTRICTION = 77019

PCLZIP_OPT_EXTRACT_IN_OUTPUT

PCLZIP_OPT_EXTRACT_IN_OUTPUT = 77015

PCLZIP_OPT_NO_COMPRESSION

PCLZIP_OPT_NO_COMPRESSION = 77007

PCLZIP_OPT_PATH

PCLZIP_OPT_PATH = 77001

PCLZIP_OPT_PREPEND_COMMENT

PCLZIP_OPT_PREPEND_COMMENT = 77014

PCLZIP_OPT_REMOVE_ALL_PATH

PCLZIP_OPT_REMOVE_ALL_PATH = 77004

PCLZIP_OPT_REMOVE_PATH

PCLZIP_OPT_REMOVE_PATH = 77003

PCLZIP_OPT_REPLACE_NEWER

PCLZIP_OPT_REPLACE_NEWER = 77016

PCLZIP_OPT_SET_CHMOD

PCLZIP_OPT_SET_CHMOD = 77005

PCLZIP_OPT_STOP_ON_ERROR

PCLZIP_OPT_STOP_ON_ERROR = 77017

PCLZIP_OPT_TEMP_FILE_OFF

PCLZIP_OPT_TEMP_FILE_OFF = 77022

PCLZIP_OPT_TEMP_FILE_ON

PCLZIP_OPT_TEMP_FILE_ON = 77021

PCLZIP_OPT_TEMP_FILE_THRESHOLD

PCLZIP_OPT_TEMP_FILE_THRESHOLD = 77020

PCLZIP_READ_BLOCK_SIZE

PCLZIP_READ_BLOCK_SIZE = 2048

PCLZIP_SEPARATOR

PCLZIP_SEPARATOR = ','

PCLZIP_TEMPORARY_DIR

PCLZIP_TEMPORARY_DIR = ''

PCLZIP_TEMPORARY_DIR

PCLZIP_TEMPORARY_DIR = \PHPExcel_Shared_File::sys_get_temp_dir() . DIRECTORY_SEPARATOR

PCLZIP_TEMPORARY_FILE_RATIO

PCLZIP_TEMPORARY_FILE_RATIO = 0.47

PHPEXCEL_ROOT

PHPEXCEL_ROOT = dirname(__FILE__) . '/'

POLYMORPHIC_ARGUMENT_EXCEPTION

POLYMORPHIC_ARGUMENT_EXCEPTION = -1

PRECISION

PRECISION = 8.88E-16

PRECISION

PRECISION_LOSS_EXCEPTION

PRECISION_LOSS_EXCEPTION = -5

ROW_LENGTH_EXCEPTION

ROW_LENGTH_EXCEPTION = -10

SELF

SELF = pathinfo(__FILE__, PATHINFO_BASENAME)

SQRT2PI

SQRT2PI = 2.5066282746310007

SQRT2PI

SYSDIR

SYSDIR = basename(BASEPATH)

UTF8_ENABLED

UTF8_ENABLED = FALSE

VIEWPATH

VIEWPATH = $view_folder . DIRECTORY_SEPARATOR

XMININ

XMININ = 2.23E-308

XMININ

Functions

_attributes_to_string()

_attributes_to_string(  $attributes) : string

Attributes To String

Helper function used by some of the form helpers

Parameters

$attributes

Returns

string

_error_handler()

_error_handler(integer  $severity, string  $message, string  $filepath, integer  $line) : void

Error Handler

This is the custom error handler that is declared at the (relative) top of CodeIgniter.php. The main reason we use this is to permit PHP errors to be logged in our own log files since the user may not have access to server logs. Since this function effectively intercepts PHP errors, however, we also need to display errors based on the current error_reporting level. We do that with the use of a PHP error template.

Parameters

integer $severity
string $message
string $filepath
integer $line

_exception_handler()

_exception_handler(\Exception  $exception) : void

Exception Handler

Sends uncaught exceptions to the logger and displays them only if display_errors is On so that they don't show up in production environments.

Parameters

\Exception $exception

_get_smiley_array()

_get_smiley_array() : mixed

Get Smiley Array

Fetches the config/smiley.php file

Returns

mixed

_get_validation_object()

_get_validation_object() : mixed

Validation Object

Determines what the form validation class was instantiated as, fetches the object and returns it.

Returns

mixed

_list()

_list(  $type = 'ul',   $list = array(),   $attributes = '',   $depth) : string

Generates the list

Generates an HTML ordered list from an single or multi-dimensional array.

Parameters

$type
$list
$attributes
$depth

Returns

string

_parse_form_attributes()

_parse_form_attributes(array  $attributes, array  $default) : string

Parse the form attributes

Helper function used by some of the form helpers

Parameters

array $attributes

List of attributes

array $default

Default values

Returns

string

_shutdown_handler()

_shutdown_handler() : void

Shutdown Handler

This is the shutdown handler that is declared at the top of CodeIgniter.php. The main reason we use this is to simulate a complete custom exception handler.

E_STRICT is purposively neglected because such events may have been caught. Duplication or none? None is preferred for now.

_stringify_attributes()

_stringify_attributes(  $attributes,   $js = FALSE) : string

Stringify attributes for use in HTML tags.

Helper function used to convert a string, array, or object of attributes to a string.

Parameters

$attributes
$js

Returns

string

acosh()

acosh(  $x) 

Parameters

$x

alternator()

alternator() : string

Alternator

Allows strings to be alternated. See docs...

Returns

string

anchor()

anchor(  $uri = '',   $title = '',   $attributes = '') : string

Anchor Link

Creates an anchor based on the local URL.

Parameters

$uri
$title
$attributes

Returns

string

anchor_popup()

anchor_popup(  $uri = '',   $title = '',   $attributes = FALSE) : string

Anchor Link - Pop-up version

Creates an anchor based on the local URL. The link opens a new window based on the attributes specified.

Parameters

$uri
$title
$attributes

Returns

string

array_column()

array_column(array  $array, mixed  $column_key, mixed  $index_key = NULL) : array

array_column()

Parameters

array $array
mixed $column_key
mixed $index_key

Returns

array

ascii_to_entities()

ascii_to_entities(string  $str) : string

High ASCII to Entities

Converts high ASCII text and MS Word special characters to character entities

Parameters

string $str

Returns

string

asinh()

asinh(  $x) 

Parameters

$x

atanh()

atanh(  $x) 

Parameters

$x

auto_link()

auto_link(  $str,   $type = 'both',   $popup = FALSE) : string

Auto-linker

Automatically links URL and Email addresses. Note: There's a bit of extra code here to deal with URLs or emails that end in a period. We'll strip these off and add them after the link.

Parameters

$str
$type
$popup

Returns

string

auto_typography()

auto_typography(string  $str, boolean  $reduce_linebreaks = FALSE) : string

Auto Typography Wrapper Function

Parameters

string $str
boolean $reduce_linebreaks

= FALSE whether to reduce multiple instances of double newlines to two

Returns

string

base_url()

base_url(string  $uri = '', string  $protocol = NULL) : string

Base URL

Create a local URL based on your basepath. Segments can be passed in as a string or an array, same as site_url or a URL to a file can be passed in, e.g. to an image file.

Parameters

string $uri
string $protocol

Returns

string

br()

br(integer  $count = 1) : string

Generates HTML BR tags based on number supplied

Parameters

integer $count

Number of times to repeat the tag

Returns

string

byte_format()

byte_format(  $num,   $precision = 1) : string

Formats a numbers as bytes, based on size, and adds the appropriate suffix

Parameters

$num
$precision

Returns

string

camelize()

camelize(string  $str) : string

Camelize

Takes multiple words separated by spaces or underscores and camelizes them

Parameters

string $str

Input string

Returns

string

character_limiter()

character_limiter(  $str,   $n = 500,   $end_char = '…') : string

Character Limiter

Limits the string based on the character count. Preserves complete words so the character count may not be exactly as specified.

Parameters

$str
$n
$end_char

Returns

string

config_item()

config_item(  $item) : mixed

Returns the specified config item

Parameters

$item

Returns

mixed

convert_accented_characters()

convert_accented_characters(string  $str) : string

Convert Accented Foreign Characters to ASCII

Parameters

string $str

Input string

Returns

string

create_captcha()

create_captcha(array  $data = '', string  $img_path = '', string  $img_url = '', string  $font_path = '') : string

Create CAPTCHA

Parameters

array $data

data for the CAPTCHA

string $img_path

path to create the image in

string $img_url

URL to the CAPTCHA image folder

string $font_path

server path to font

Returns

string

current_url()

current_url() : string

Current URL

Returns the full URL (including segments) of the page where this function is placed

Returns

string

date_range()

date_range(  $unix_start = '',   $mixed = '',   $is_unix = TRUE,   $format = 'Y-m-d') : array

Date range

Returns a list of dates within a specified period.

Parameters

$unix_start
$mixed
$is_unix
$format

Returns

array

days_in_month()

days_in_month(  $month,   $year = '') : integer

Number of days in a month

Takes a month/year as input and returns the number of days for the given month/year. Takes leap years into consideration.

Parameters

$month
$year

Returns

integer

DB()

DB(string|array<mixed,string>  $params = '', boolean  $query_builder_override = NULL) 

Initialize the database

Parameters

string|array<mixed,string> $params
boolean $query_builder_override

Determines if query builder should be used or not

delete_cookie()

delete_cookie(  $name,   $domain = '',   $path = '/',   $prefix = '') : void

Delete a COOKIE

Parameters

$name
$domain
$path
$prefix

delete_files()

delete_files(string  $path, boolean  $del_dir = FALSE, boolean  $htdocs = FALSE, integer  $_level) : boolean

Delete Files

Deletes all files contained in the supplied directory path. Files must be writable or owned by the system in order to be deleted. If the second parameter is set to TRUE, any directories contained within the supplied base directory will be nuked as well.

Parameters

string $path

File path

boolean $del_dir

Whether to delete any directories found in the path

boolean $htdocs

Whether to skip deleting .htaccess and index page files

integer $_level

Current directory depth level (default: 0; internal use only)

Returns

boolean

directory_map()

directory_map(string  $source_dir, integer  $directory_depth, boolean  $hidden = FALSE) : array

Create a Directory Map

Reads the specified directory and builds an array representation of it. Sub-folders contained with the directory will be mapped as well.

Parameters

string $source_dir

Path to source

integer $directory_depth

Depth of directories to traverse (0 = fully recursive, 1 = current dir, etc)

boolean $hidden

Whether to show hidden files

Returns

array

do_hash()

do_hash(string  $str, string  $type = 'sha1') : string

Hash encode a string

Parameters

string $str
string $type

= 'sha1'

Returns

string

doctype()

doctype(  $type = 'xhtml1-strict') : string

Doctype

Generates a page document type declaration

Examples of valid options: html5, xhtml-11, xhtml-strict, xhtml-trans, xhtml-frame, html4-strict, html4-trans, and html4-frame. All values are saved in the doctypes config file.

Parameters

$type

Returns

string

element()

element(  $item, array  $array,   $default = NULL) : mixed

Element

Lets you determine whether an array index is set and whether it has a value. If the element is empty it returns NULL (or whatever you specify as the default value.)

Parameters

$item
array $array
$default

Returns

mixed —

depends on what the array contains

elements()

elements(  $items, array  $array,   $default = NULL) : mixed

Elements

Returns only the array items specified. Will return a default value if it is not set.

Parameters

$items
array $array
$default

Returns

mixed —

depends on what the array contains

ellipsize()

ellipsize(  $str,   $max_length,   $position = 1,   $ellipsis = '&hellip;') : string

Ellipsize String

This function will strip tags from a string, split it at its max_length and ellipsize

Parameters

$str
$max_length
$position
$ellipsis

Returns

string —

ellipsized string

encode_php_tags()

encode_php_tags(  $str) : string

Convert PHP tags to entities

Parameters

$str

Returns

string

entities_to_ascii()

entities_to_ascii(  $str,   $all = TRUE) : string

Entities to ASCII

Converts character entities back to ASCII

Parameters

$str
$all

Returns

string

entity_decode()

entity_decode(  $str,   $charset = NULL) : string

HTML Entities Decode

This function is a replacement for html_entity_decode()

Parameters

$str
$charset

Returns

string

force_download()

force_download(  $filename = '',   $data = '',   $set_mime = FALSE) : void

Force Download

Generates headers that force a download to happen

Parameters

$filename
$data
$set_mime

form_button()

form_button(  $data = '',   $content = '',   $extra = '') : string

Form Button

Parameters

$data
$content
$extra

Returns

string

form_checkbox()

form_checkbox(  $data = '',   $value = '',   $checked = FALSE,   $extra = '') : string

Checkbox Field

Parameters

$data
$value
$checked
$extra

Returns

string

form_close()

form_close(  $extra = '') : string

Form Close Tag

Parameters

$extra

Returns

string

form_dropdown()

form_dropdown(mixed  $data = '', mixed  $options = array(), mixed  $selected = array(), mixed  $extra = '') : string

Drop-down Menu

Parameters

mixed $data
mixed $options
mixed $selected
mixed $extra

Returns

string

form_error()

form_error(  $field = '',   $prefix = '',   $suffix = '') : string

Form Error

Returns the error for a specific form field. This is a helper for the form validation class.

Parameters

$field
$prefix
$suffix

Returns

string

form_fieldset()

form_fieldset(  $legend_text = '',   $attributes = array()) : string

Fieldset Tag

Used to produce

text. To close fieldset use form_fieldset_close()

Parameters

$legend_text
$attributes

Returns

string

form_fieldset_close()

form_fieldset_close(  $extra = '') : string

Fieldset Close Tag

Parameters

$extra

Returns

string

form_hidden()

form_hidden(mixed  $name, string  $value = '', boolean  $recursing = FALSE) : string

Hidden Input Field

Generates hidden fields. You can pass a simple key/value string or an associative array with multiple values.

Parameters

mixed $name

Field name

string $value

Field value

boolean $recursing

Returns

string

form_input()

form_input(  $data = '',   $value = '',   $extra = '') : string

Text Input Field

Parameters

$data
$value
$extra

Returns

string

form_label()

form_label(  $label_text = '',   $id = '',   $attributes = array()) : string

Form Label Tag

Parameters

$label_text
$id
$attributes

Returns

string

form_multiselect()

form_multiselect(  $name = '',   $options = array(),   $selected = array(),   $extra = '') : string

Multi-select menu

Parameters

$name
$options
$selected
$extra

Returns

string

form_open()

form_open(  $action = '',   $attributes = array(),   $hidden = array()) : string

Form Declaration

Creates the opening portion of the form.

Parameters

$action
$attributes
$hidden

Returns

string

form_open_multipart()

form_open_multipart(  $action = '',   $attributes = array(),   $hidden = array()) : string

Form Declaration - Multipart type

Creates the opening portion of the form, but with "multipart/form-data".

Parameters

$action
$attributes
$hidden

Returns

string

form_password()

form_password(  $data = '',   $value = '',   $extra = '') : string

Password Field

Identical to the input function but adds the "password" type

Parameters

$data
$value
$extra

Returns

string

form_prep()

form_prep(string|array<mixed,string>  $str) : string|array<mixed,string>

Form Prep

Formats text so that it can be safely placed in a form field in the event it has HTML tags.

Parameters

string|array<mixed,string> $str

Value to escape

Returns

string|array<mixed,string> —

Escaped values

form_radio()

form_radio(  $data = '',   $value = '',   $checked = FALSE,   $extra = '') : string

Radio Button

Parameters

$data
$value
$checked
$extra

Returns

string

form_reset()

form_reset(  $data = '',   $value = '',   $extra = '') : string

Reset Button

Parameters

$data
$value
$extra

Returns

string

form_submit()

form_submit(  $data = '',   $value = '',   $extra = '') : string

Submit Button

Parameters

$data
$value
$extra

Returns

string

form_textarea()

form_textarea(mixed  $data = '', string  $value = '', mixed  $extra = '') : string

Textarea field

Parameters

mixed $data
string $value
mixed $extra

Returns

string

form_upload()

form_upload(  $data = '',   $value = '',   $extra = '') : string

Upload Field

Identical to the input function but adds the "file" type

Parameters

$data
$value
$extra

Returns

string

function_usable()

function_usable(string  $function_name) : boolean

Function usable

Executes a function_exists() check, and if the Suhosin PHP extension is loaded - checks whether the function that is checked might be disabled in there as well.

This is useful as function_exists() will return FALSE for functions disabled via the disable_functions php.ini setting, but not for suhosin.executor.func.blacklist and suhosin.executor.disable_eval. These settings will just terminate script execution if a disabled function is executed.

The above described behavior turned out to be a bug in Suhosin, but even though a fix was commited for 0.9.34 on 2012-02-12, that version is yet to be released. This function will therefore be just temporary, but would probably be kept for a few years.

Parameters

string $function_name

Function to check for

Returns

boolean —

TRUE if the function exists and is safe to call, FALSE otherwise.

get_clickable_smileys()

get_clickable_smileys(  $image_url,   $alias = '') : array

Get Clickable Smileys

Returns an array of image tag links that can be clicked to be inserted into a form field.

Parameters

$image_url
$alias

Returns

array

get_config()

get_config(array  $replace = array()) : array

Loads the main config.php file

This function lets us grab the config file even if the Config class hasn't been instantiated yet

Parameters

array $replace

Returns

array

get_cookie()

get_cookie(  $index,   $xss_clean = NULL) : mixed

Fetch an item from the COOKIE array

Parameters

$index
$xss_clean

Returns

mixed

get_dir_file_info()

get_dir_file_info(  $source_dir,   $top_level_only = TRUE,   $_recursion = FALSE) : array

Get Directory File Information

Reads the specified directory and builds an array containing the filenames, filesize, dates, and permissions

Any sub-folders contained within the specified path are read as well.

Parameters

$source_dir
$top_level_only
$_recursion

Returns

array

get_file_info()

get_file_info(  $file,   $returned_values = array('name', 'server_path', 'size', 'date')) : array

Get File Info

Given a file and path, returns the name, path, size, date modified Second parameter allows you to explicitly declare what information you want returned Options are: name, server_path, size, date, readable, writable, executable, fileperms Returns FALSE if the file cannot be found.

Parameters

$file
$returned_values

Returns

array

get_filenames()

get_filenames(  $source_dir,   $include_path = FALSE,   $_recursion = FALSE) : array

Get Filenames

Reads the specified directory and builds an array containing the filenames. Any sub-folders contained within the specified path are read as well.

Parameters

$source_dir
$include_path
$_recursion

Returns

array

get_instance()

get_instance() : \CI_Controller

Reference to the CI_Controller method.

Returns current CI instance object

Returns

\CI_Controller

get_mime_by_extension()

get_mime_by_extension(string  $filename) : string

Get Mime by Extension

Translates a file extension into a mime type based on config/mimes.php. Returns FALSE if it can't determine the type, or open the mime config file

Note: this is NOT an accurate way of determining file mime types, and is here strictly as a convenience It should NOT be trusted, and should certainly NOT be used for security

Parameters

string $filename

File name

Returns

string

get_mimes()

get_mimes() : array

Returns the MIME types array from config/mimes.php

Returns

array

getfiles()

getfiles(  $path,   $allowFiles, array  $files = array()) : array

遍历获取目录下的指定类型的文件

Parameters

$path
$allowFiles
array $files

Returns

array

gmt_to_local()

gmt_to_local(  $time = '',   $timezone = 'UTC',   $dst = FALSE) : integer

Converts GMT time to a localized value

Takes a Unix timestamp (in GMT) as input, and returns at the local value based on the timezone and DST setting submitted

Parameters

$time
$timezone
$dst

Returns

integer

hash_equals()

hash_equals(string  $known_string, string  $user_string) : boolean

hash_equals()

Parameters

string $known_string
string $user_string

Returns

boolean

hash_pbkdf2()

hash_pbkdf2(string  $algo, string  $password, string  $salt, integer  $iterations, integer  $length, boolean  $raw_output = FALSE) : string

hash_pbkdf2()

Parameters

string $algo
string $password
string $salt
integer $iterations
integer $length
boolean $raw_output

Returns

string

heading()

heading(  $data = '',   $h = '1',   $attributes = '') : string

Heading

Generates an HTML heading tag.

Parameters

$data
$h
$attributes

Returns

string

hex2bin()

hex2bin(string  $data) : string

hex2bin()

Parameters

string $data

Returns

string

highlight_code()

highlight_code(  $str) : string

Code Highlighter

Colorizes code strings

Parameters

$str

Returns

string

highlight_phrase()

highlight_phrase(string  $str, string  $phrase, string  $tag_open = '<mark>', string  $tag_close = '</mark>') : string

Phrase Highlighter

Highlights a phrase within a text string

Parameters

string $str

the text string

string $phrase

the phrase you'd like to highlight

string $tag_open

the openging tag to precede the phrase with

string $tag_close

the closing tag to end the phrase with

Returns

string

html_escape()

html_escape(mixed  $var, boolean  $double_encode = TRUE) : mixed

Returns HTML escaped variable.

Parameters

mixed $var

The input string or array of strings to be escaped.

boolean $double_encode

$double_encode set to FALSE prevents escaping twice.

Returns

mixed —

The escaped string or array of strings as a result.

human_to_unix()

human_to_unix(  $datestr = '') : integer

Convert "human" date to GMT

Reverses the above process

Parameters

$datestr

Returns

integer

humanize()

humanize(string  $str, string  $separator = '_') : string

Humanize

Takes multiple words separated by the separator and changes them to spaces

Parameters

string $str

Input string

string $separator

Input separator

Returns

string

hypo()

hypo(  $a,   $b) 

Parameters

$a
$b

img()

img(  $src = '',   $index_page = FALSE,   $attributes = '') : string

Image

Generates an element

Parameters

$src
$index_page
$attributes

Returns

string

increment_string()

increment_string(  $str,   $separator = '_',   $first = 1) : string

Add's _1 to a string or increment the ending number to allow _2, _3, etc

Parameters

$str
$separator
$first

Returns

string

index_page()

index_page() : string

Index page

Returns the "index_page" from your config file

Returns

string

is_cli()

is_cli() : boolean

Is CLI?

Test to see if a request was made from the command line.

Returns

boolean

is_countable()

is_countable(string  $word) : boolean

Checks if the given word has a plural version.

Parameters

string $word

Word to check

Returns

boolean

is_false()

is_false(mixed  $test) : boolean

Helper function to test boolean FALSE

Parameters

mixed $test

Returns

boolean

is_https()

is_https() : boolean

Is HTTPS?

Determines if the application is accessed via an encrypted (HTTPS) connection.

Returns

boolean

is_loaded()

is_loaded(  $class = '') : array

Keeps track of which libraries have been loaded. This function is called by the load_class() function above

Parameters

$class

Returns

array

is_php()

is_php(  $version) : boolean

Determines if the current version of PHP is equal to or greater than the supplied value

Parameters

$version

Returns

boolean —

TRUE if the current version is $version or higher

is_really_writable()

is_really_writable(  $file) : boolean

Tests for file writability

is_writable() returns TRUE on Windows servers when you really can't write to the file, based on the read-only attribute. is_writable() is also unreliable on Unix servers if safe_mode is on.

Parameters

$file

Returns

boolean

is_true()

is_true(mixed  $test) : boolean

Helper function to test boolean TRUE

Parameters

mixed $test

Returns

boolean

JAMAError()

JAMAError(  $errorNumber = null) 

Custom error handler

@param int $num Error number

Parameters

$errorNumber

lang()

lang(string  $line, string  $for = '', array  $attributes = array()) : string

Lang

Fetches a language variable and optionally outputs a form label

Parameters

string $line

The language line

string $for

The "for" value (id of the form element)

array $attributes

Any additional HTML attributes

Returns

string

link_tag()

link_tag(  $href = '',   $rel = 'stylesheet',   $type = 'text/css',   $title = '',   $media = '',   $index_page = FALSE) : string

Link

Generates link to a CSS file

Parameters

$href
$rel
$type
$title
$media
$index_page

Returns

string

load_class()

load_class(  $class,   $directory = 'libraries',   $param = NULL) : object

Class registry

This function acts as a singleton. If the requested class does not exist it is instantiated and set to a static variable. If it has previously been instantiated the variable is returned.

Parameters

$class
$directory
$param

Returns

object

local_to_gmt()

local_to_gmt(  $time = '') : integer

Converts a local Unix timestamp to GMT

Parameters

$time

Returns

integer

log_message()

log_message(  $level,   $message) : void

Error Logging Interface

We use this as a simple mechanism to access the logging class and send messages to be logged.

Parameters

$level
$message

mailto()

mailto(  $email,   $title = '',   $attributes = '') : string

Mailto Link

Parameters

$email
$title
$attributes

Returns

string

mb_str_replace()

mb_str_replace(  $search,   $replace,   $subject) 

Parameters

$search
$replace
$subject

mb_strlen()

mb_strlen(string  $str, string  $encoding = NULL) : string

mb_strlen()

WARNING: This function WILL fall-back to strlen() if iconv is not available!

Parameters

string $str
string $encoding

Returns

string

mb_strpos()

mb_strpos(string  $haystack, string  $needle, integer  $offset, string  $encoding = NULL) : mixed

mb_strpos()

WARNING: This function WILL fall-back to strpos() if iconv is not available!

Parameters

string $haystack
string $needle
integer $offset
string $encoding

Returns

mixed

mb_substr()

mb_substr(string  $str, integer  $start, integer  $length = NULL, string  $encoding = NULL) : string

mb_substr()

WARNING: This function WILL fall-back to substr() if iconv is not available.

Parameters

string $str
integer $start
integer $length
string $encoding

Returns

string

mdate()

mdate(  $datestr = '',   $time = '') : integer

Convert MySQL Style Datecodes

This function is identical to PHPs date() function, except that it allows date codes to be formatted using the MySQL style, where each code letter is preceded with a percent sign: %Y %m %d etc...

The benefit of doing dates this way is that you don't have to worry about escaping your text letters that match the date codes.

Parameters

$datestr
$time

Returns

integer

meta()

meta(  $name = '',   $content = '',   $type = 'name',   $newline = "\n") : string

Generates meta tags from an array of key/values

Parameters

$name
$content
$type
$newline

Returns

string

mysql_to_unix()

mysql_to_unix(  $time = '') : integer

Converts a MySQL Timestamp to Unix

Parameters

$time

Returns

integer —

Unix timstamp

nbs()

nbs(  $num = 1) : string

Generates non-breaking space entities based on number supplied

Parameters

$num

Returns

string

nice_date()

nice_date(  $bad_date = '',   $format = FALSE) : string

Turns many "reasonably-date-like" strings into something that is actually useful. This only works for dates after unix epoch.

Parameters

$bad_date
$format

Returns

string

nl2br_except_pre()

nl2br_except_pre(  $str) : string

Convert newlines to HTML line breaks except within PRE tags

Parameters

$str

Returns

string

now()

now(  $timezone = NULL) : integer

Get "now" time

Returns time() based on the timezone parameter or on the "time_reference" setting

Parameters

$timezone

Returns

integer

octal_permissions()

octal_permissions(integer  $perms) : string

Octal Permissions

Takes a numeric value representing a file's permissions and returns a three character string representing the file's octal permissions

Parameters

integer $perms

Permissions

Returns

string

odbc_fetch_array()

odbc_fetch_array(  $result, integer  $rownumber = 1) : array

ODBC Fetch array

Emulates the native odbc_fetch_array() function when it is not available (odbc_fetch_array() requires unixODBC)

Parameters

$result
integer $rownumber

Returns

array

odbc_fetch_object()

odbc_fetch_object(  $result, integer  $rownumber = 1) : object

ODBC Fetch object

Emulates the native odbc_fetch_object() function when it is not available.

Parameters

$result
integer $rownumber

Returns

object

ol()

ol(  $list,   $attributes = '') : string

Ordered List

Generates an HTML ordered list from an single or multi-dimensional array.

Parameters

$list
$attributes

Returns

string

p()

p(  $arr) 

Parameters

$arr

parse_smileys()

parse_smileys(  $str = '',   $image_url = '',   $smileys = NULL) : string

Parse Smileys

Takes a string as input and swaps any contained smileys for the actual image

Parameters

$str
$image_url
$smileys

Returns

string

password_get_info()

password_get_info(string  $hash) : array

password_get_info()

Parameters

string $hash

Returns

array

password_hash()

password_hash(string  $password, integer  $algo, array  $options = array()) : mixed

password_hash()

Parameters

string $password
integer $algo
array $options

Returns

mixed

password_needs_rehash()

password_needs_rehash(string  $hash, integer  $algo, array  $options = array()) : boolean

password_needs_rehash()

Parameters

string $hash
integer $algo
array $options

Returns

boolean

password_verify()

password_verify(string  $password, string  $hash) : boolean

password_verify()

Parameters

string $password
string $hash

Returns

boolean

PclZipUtilCopyBlock()

PclZipUtilCopyBlock(  $p_src,   $p_dest,   $p_size,   $p_mode) 

Parameters

$p_src
$p_dest
$p_size
$p_mode

PclZipUtilOptionText()

PclZipUtilOptionText(  $p_option) 

Parameters

$p_option

PclZipUtilPathInclusion()

PclZipUtilPathInclusion(  $p_dir,   $p_path) 

Parameters

$p_dir
$p_path

PclZipUtilPathReduction()

PclZipUtilPathReduction(  $p_dir) 

Parameters

$p_dir

PclZipUtilRename()

PclZipUtilRename(  $p_src,   $p_dest) 

Parameters

$p_src
$p_dest

PclZipUtilTranslateWinPath()

PclZipUtilTranslateWinPath(  $p_path,   $p_remove_disk_letter = true) 

Parameters

$p_path
$p_remove_disk_letter

plural()

plural(string  $str) : string

Plural

Takes a singular word and makes it plural

Parameters

string $str

Input string

Returns

string

prep_url()

prep_url(  $str = '') : string

Prep URL

Simply adds the http:// part if no scheme is included

Parameters

$str

Returns

string

quotes_to_entities()

quotes_to_entities(  $str) : string

Quotes to Entities

Converts single and double quotes to entities

Parameters

$str

Returns

string

random_element()

random_element(  $array) : mixed

Random Element - Takes an array as input and returns a random element

Parameters

$array

Returns

mixed —

depends on what the array contains

random_string()

random_string(  $type = 'alnum',   $len = 8) : string

Create a Random String

Useful for generating passwords or hashes.

Parameters

$type
$len

Returns

string

read_file()

read_file(string  $file) : string

Read File

Opens the file specified in the path and returns it as a string.

Parameters

string $file

Path to file

Returns

string —

File contents

redirect()

redirect(string  $uri = '', string  $method = 'auto', integer  $code = NULL) : void

Header Redirect

Header redirect in two flavors For very fine grained control over headers, you could use the Output Library's set_header() function.

Parameters

string $uri

URL

string $method

Redirect method 'auto', 'location' or 'refresh'

integer $code

HTTP Response status code

reduce_multiples()

reduce_multiples(  $str,   $character = ',',   $trim = FALSE) : string

Reduce Multiples

Reduces multiple instances of a particular character. Example:

Fred, Bill,, Joe, Jimmy

becomes:

Fred, Bill, Joe, Jimmy

Parameters

$str
$character
$trim

Returns

string

remove_invisible_characters()

remove_invisible_characters(  $str,   $url_encoded = TRUE) : string

Remove Invisible Characters

This prevents sandwiching null characters between ascii characters, like Java\0script.

Parameters

$str
$url_encoded

Returns

string

repeater()

repeater(string  $data, integer  $num = 1) : string

Repeater function

Parameters

string $data

String to repeat

integer $num

Number of repeats

Returns

string

safe_mailto()

safe_mailto(  $email,   $title = '',   $attributes = '') : string

Encoded Mailto Link

Create a spam-protected mailto link written in Javascript

Parameters

$email
$title
$attributes

Returns

string

sanitize_filename()

sanitize_filename(  $filename) : string

Sanitize Filename

Parameters

$filename

Returns

string

send_email()

send_email(string  $recipient, string  $subject, string  $message) : boolean

Send an email

Parameters

string $recipient
string $subject
string $message

Returns

boolean

set_checkbox()

set_checkbox(  $field,   $value = '',   $default = FALSE) : string

Set Checkbox

Let's you set the selected value of a checkbox via the value in the POST array. If Form Validation is active it retrieves the info from the validation class

Parameters

$field
$value
$default

Returns

string

set_cookie()

set_cookie(  $name,   $value = '',   $expire = '',   $domain = '',   $path = '/',   $prefix = '',   $secure = FALSE,   $httponly = FALSE) : void

Set cookie

Accepts seven parameters, or you can submit an associative array in the first parameter containing all the values.

Parameters

$name
$value
$expire
$domain
$path
$prefix
$secure
$httponly

set_radio()

set_radio(string  $field, string  $value = '', boolean  $default = FALSE) : string

Set Radio

Let's you set the selected value of a radio field via info in the POST array. If Form Validation is active it retrieves the info from the validation class

Parameters

string $field
string $value
boolean $default

Returns

string

set_realpath()

set_realpath(  $path,   $check_existance = FALSE) : string

Set Realpath

Parameters

$path
$check_existance

Returns

string

set_select()

set_select(  $field,   $value = '',   $default = FALSE) : string

Set Select

Let's you set the selected value of a