\

Classes

Action +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Action +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Api +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Api +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Area +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Attribute2
Auth +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Auth +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Auth +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Cache +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Cache +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Charset
ChartCustomer +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
ChartDime +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
ChartPurchase +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
ChartSale +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Coll
CommFront 接口类
Common
Common
Config_File Config file reading class
Config_File Config file reading class
CstChance +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstChance +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstChance +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstCustomer +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstCustomer +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstCustomerComm +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstCustomerDept +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstCustomerExport +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstCustomerImport +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstDict +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstDict +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstDict +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstDictType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstDictType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstFieldExt +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstFiling +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstFiling +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstLinkman +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstLinkman +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstLinkman +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstLinkmanExport +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstQuoted +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstQuoted +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstQuotedDetail +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstQuotedDetail +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstService +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstService +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstService +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstTalk +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstTalk +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstTrace +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstTrace +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstTrace +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstWebsite +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CstWebsite +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
CsvReader CSV 文件处理类
Customer +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Data +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Data +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Database +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Database +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
DataSql +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Dept +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Dept +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Dispatcher
Dispatcher
Email
Email
Email +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
EmailLog +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
EmailMb +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
EmailSend +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FieldExt +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
File
File
FileTxt
FinBankAccount +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinBankAccount +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinCapitalRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinExpensesRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinExpensesRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinExpensesType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinExpensesType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinFlowLinkBusiness +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinFlowLinkBusiness +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinFlowRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinFlowRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinIncomeRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinIncomeRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinIncomeType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinIncomeType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinInvoicePay +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinInvoicePay +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinInvoiceRece +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinInvoiceRece +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinPayPlan +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinPayPlan +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinPayRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinPayRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinRecePlan +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinRecePlan +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinReceRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
FinReceRecord +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Framk +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Framk +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Goods +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsAttr +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsAttrValue +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsBrand +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsCategory +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsImg +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsOrder +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsOrderList +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsSku +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsSpec +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
GoodsSpecValue +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Help +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
HelpDoc +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
HelpType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Html2
HttpDown
Index +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Index +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Index +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Index +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Ismg Sms 文件处理类
Login +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Login +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Login +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Member +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
MemberAddress +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
MemberCard +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
MemberNotice +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
MemberQuick +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
MemberTree +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
MemberType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
MemberTypeDist +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Menu +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Menu +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Message +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Message +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Method +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Method +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
MySendMail 邮件发送类 支持发送纯文本邮件和HTML格式的邮件,可以多收件人,多抄送,多秘密抄送,带附件的邮件 需要的php扩展,sockets和Fileinfo。
MySendMail 邮件发送类 支持发送纯文本邮件和HTML格式的邮件,可以多收件人,多抄送,多秘密抄送,带附件的邮件 需要的php扩展,sockets和Fileinfo。
Mysql +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Mysql +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
News +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
NewsType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Notice +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Notice +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Notice +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
NoticeBanner +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
p8_smtp
p8_smtp
Page +------------------------------------------------------------------------------ Framk +------------------------------------------------------------------------------
Page +------------------------------------------------------------------------------ Framk +------------------------------------------------------------------------------
PageStatic +------------------------------------------------------------------------------ Framk +------------------------------------------------------------------------------
PosContract +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
PosContractList +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Position +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Position +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
PosOrder +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
PosOrderDetail +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
ProDict +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Product +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
ProType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Region +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Register +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Role +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Role +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalContract +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalContract +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalContract +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalContractList +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalContractList +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalOrder +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalOrder +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalOrderDetail +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SalOrderDetail +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Shop +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
ShopType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SinglePages +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Smarty
Smarty
Smarty_Compiler Template compiling class
Smarty_Compiler Template compiling class
Sms +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SmsLog +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SmsMb +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SQLite SQLite PDO 操作类
SQLite SQLite PDO 操作类
SQLiteTable
SQLiteTable
StockGoodsSku +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
StockInto +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
StockIntoList +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
StockOut +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
StockOutList +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
StockStore +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Suggest +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SupLinkman +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SupLinkman +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Supplier +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SupSupplier +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Sys +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Sys +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SysConfig +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SysData 数据库备份还原操作
SysData +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
SysLog +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
TencentSms Sms 文件处理类
Tree +------------------------------------------------ 通用的树型类 +------------------------------------------------
Tree +------------------------------------------------ 通用的树型类 +------------------------------------------------
Upgrade +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Upload 上传操作
Upload +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Uploader Created by JetBrains PhpStorm.
User +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
User +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxAbout +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxApi +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxAuth +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxConfig +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxCstChance +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxCstDict +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxCstLinkman +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxCstTrace +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxCustomer +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxCustomer +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxDistribution +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxGoods +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxGoodsBuy +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxGoodsCart +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxGoodsImg +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxGoodsOrder +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxGoodsOrderList +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxIndex +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMember +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberAddress +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberAsset +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberCard +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberLog +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberNotice +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberQuick +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberQuickTeam +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberRank +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberShare +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxMemberType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxNotice +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxNoticeBanner +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxSalContract +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxSalOrder +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxShop +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxShopMember +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxShopType +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
WxSuggest +------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------
Zip Zip 文件包工具

Constants

ACT

ACT = $scriptName

ACT

ACT = $scriptName

ACTION_NAME

ACTION_NAME = $action

ACTION_NAME

ACTION_NAME = $action

APP

APP = strlen(APP_NAME) === 0 ? $appName : $appName . '/' . APP_NAME

APP

APP = strlen(APP_NAME) === 0 ? $appName : $appName . '/' . APP_NAME

APP_HTTP

APP_HTTP = str_replace(APP_NAME, '', $appName)

APP_HTTP

APP_HTTP = str_replace(APP_NAME, '', $appName)

APP_NAME

APP_NAME = 'Crm'

APP_NAME

APP_NAME = 'ERP'

APP_NAME

APP_NAME = ''

APP_ROOT

APP_ROOT = ROOT . S . str_replace('/', S, APP_NAME) . S

APP_ROOT

APP_ROOT = ROOT . S . str_replace('/', S, APP_NAME) . S

CRLF

CRLF = "\r\n"

CRLF

CRLF = "\r\n"

DBCHARSET

DBCHARSET = 'UTF8'

DIR_SEP

DIR_SEP = DIRECTORY_SEPARATOR

DIR_SEP

DIR_SEP = DIRECTORY_SEPARATOR

FILE_APPEND

FILE_APPEND = 1

FLYCRM_LICENCE

FLYCRM_LICENCE = 'http://www.07fly.com/'

FLYCRM_RELEASE

FLYCRM_RELEASE = ".R02012"

FLYCRM_URL

FLYCRM_URL = 'http://www.07fly.com/'

FLYCRM_VERSION

FLYCRM_VERSION = '07FLY-CRM v1.2'

FRAMK

FRAMK = dirname(__FILE__) . S

FRAMK

FRAMK = dirname(__FILE__) . S

METHOD_NAME

METHOD_NAME = $method

METHOD_NAME

METHOD_NAME = $method

NOWDATE

NOWDATE = date('Y-m-d ', time())

NOWTIME

NOWTIME = date('Y-m-d H:i:s', time())

NOWTIME

NOWTIME = date("Y-m-d H:i:s", time())

ROOT

ROOT = dirname(__FILE__)

ROOT

ROOT = dirname(__FILE__)

ROOT

ROOT = dirname(__FILE__)

ROOT_PATH

ROOT_PATH = dirname(dirname(__FILE__))

ROOT_PATH

ROOT_PATH = str_replace("\\", "/", dirname(__FILE__))

S

S = DIRECTORY_SEPARATOR

S

S = DIRECTORY_SEPARATOR

SMARTY_CORE_DIR

SMARTY_CORE_DIR = SMARTY_DIR . 'internals' . DIRECTORY_SEPARATOR

SMARTY_CORE_DIR

SMARTY_CORE_DIR = SMARTY_DIR . 'internals' . DIRECTORY_SEPARATOR

SMARTY_DIR

SMARTY_DIR = dirname(__FILE__) . DIRECTORY_SEPARATOR

SMARTY_DIR

SMARTY_DIR = dirname(__FILE__) . DIRECTORY_SEPARATOR

SMARTY_PHP_ALLOW

SMARTY_PHP_ALLOW = 3

SMARTY_PHP_ALLOW

SMARTY_PHP_ALLOW = 3

SMARTY_PHP_PASSTHRU

SMARTY_PHP_PASSTHRU = 0

SMARTY_PHP_PASSTHRU

SMARTY_PHP_PASSTHRU = 0

SMARTY_PHP_QUOTE

SMARTY_PHP_QUOTE = 1

SMARTY_PHP_QUOTE

SMARTY_PHP_QUOTE = 1

SMARTY_PHP_REMOVE

SMARTY_PHP_REMOVE = 2

SMARTY_PHP_REMOVE

SMARTY_PHP_REMOVE = 2

SMTP_STATUS_CONNECTED

SMTP_STATUS_CONNECTED = 2

SMTP_STATUS_CONNECTED

SMTP_STATUS_CONNECTED = 2

SMTP_STATUS_NOT_CONNECTED

SMTP_STATUS_NOT_CONNECTED = 1

SMTP_STATUS_NOT_CONNECTED

SMTP_STATUS_NOT_CONNECTED = 1

strtoupper($value)

strtoupper($value) = APP_ROOT . $value . S

strtoupper($value)

strtoupper($value) = APP_ROOT . $value . S

SYS_CO_ID

SYS_CO_ID = '1'

SYS_CO_ID

SYS_CO_ID = '1'

SYS_USER_ACC

SYS_USER_ACC = $_SESSION["sys_user_acc"]

SYS_USER_ACCOUNT

SYS_USER_ACCOUNT = $_SESSION["CRM"]["USER"]["account"]

SYS_USER_ACCOUNT

SYS_USER_ACCOUNT = '07fly'

SYS_USER_ACCOUNT

SYS_USER_ACCOUNT = $_SESSION["CRM"]["USER"]["account"]

SYS_USER_ID

SYS_USER_ID = $_SESSION["CRM"]["USER"]["userID"]

SYS_USER_ID

SYS_USER_ID = $_SESSION["sys_user_id"]

SYS_USER_ID

SYS_USER_ID = '1'

SYS_USER_ID

SYS_USER_ID = $_SESSION["CRM"]["USER"]["userID"]

SYS_USER_SUB_ID

SYS_USER_SUB_ID = '0'

SYS_USER_VIEW

SYS_USER_VIEW = '0'

SYS_USER_VIEW

SYS_USER_VIEW = $_SESSION["CRM"]["USER"]["viewID"]

SYS_USER_VIEW

SYS_USER_VIEW = '1,4'

SYS_USER_VIEW

SYS_USER_VIEW = $_SESSION["CRM"]["USER"]["viewID"]

T_NEW_LINE

T_NEW_LINE = -1

TIMESTAMP

TIMESTAMP = time()

Functions

_config()

_config(  $_Config,   $userConfig) 

Parameters

$_Config
$userConfig

_config()

_config(  $_Config,   $userConfig) 

Parameters

$_Config
$userConfig

_error()

_error(  $errorKey,   $detail = '',   $exit = false) 

Parameters

$errorKey
$detail
$exit

_error()

_error(  $errorKey,   $detail = '',   $exit = false) 

Parameters

$errorKey
$detail
$exit

_import()

_import(  $file,   $fileDir = '') 

Parameters

$file
$fileDir

_import()

_import(  $file,   $fileDir = '') 

Parameters

$file
$fileDir

_instance()

_instance(  $file,   $args = array(),   $fileDir = '') 

Parameters

$file
$args
$fileDir

_instance()

_instance(  $file,   $args = array(),   $fileDir = '') 

Parameters

$file
$args
$fileDir

_mkdir()

_mkdir(  $dir,   $mode = 511) 

Parameters

$dir
$mode

_mkdir()

_mkdir(  $dir,   $mode = 511) 

Parameters

$dir
$mode

_smarty_regex_replace_check()

_smarty_regex_replace_check(  $search) 

Parameters

$search

_smarty_regex_replace_check()

_smarty_regex_replace_check(  $search) 

Parameters

$search

_smarty_sort_length()

_smarty_sort_length(string  $a, string  $b) : \-1|\1

compare to values by their string length

Parameters

string $a
string $b

Returns

\-1|\1

_smarty_sort_length()

_smarty_sort_length(string  $a, string  $b) : \-1|\1

compare to values by their string length

Parameters

string $a
string $b

Returns

\-1|\1

AddDay()

AddDay(  $ntime,   $aday) 

Parameters

$ntime
$aday

AdminUpload()

AdminUpload(  $uploadname,   $ftype = 'image',   $rnddd,   $watermark = TRUE,   $filetype = '') 

Parameters

$uploadname
$ftype
$rnddd
$watermark
$filetype

AjaxHead()

AjaxHead() 

array2string()

array2string(  $array) 

Parameters

$array

array_column()

array_column(  $input,   $columnKey,   $indexKey = NULL) 

Parameters

$input
$columnKey
$indexKey

array_column()

array_column(  $input,   $columnKey,   $indexKey = NULL) 

Parameters

$input
$columnKey
$indexKey

AttDef()

AttDef(  $oldvar,   $nv) 

Parameters

$oldvar
$nv

AutoCharset()

AutoCharset(  $fContents,   $from = 'gbk',   $to = 'utf-8') 

Parameters

$fContents
$from
$to

big52gb()

big52gb(  $Text) 

Parameters

$Text

CheckEmail()

CheckEmail(  $email) 

Parameters

$email

ChmodAll()

ChmodAll(  $truepath,   $mmode) 

Parameters

$truepath
$mmode

CloseFtp()

CloseFtp() 

cn_substr()

cn_substr(  $str,   $slen,   $startdd) 

Parameters

$str
$slen
$startdd

cn_substr()

cn_substr(  $str,   $slen,   $startdd) 

Parameters

$str
$slen
$startdd

cn_substr_utf8()

cn_substr_utf8(  $str,   $length,   $start) 

Parameters

$str
$length
$start

cn_substr_utf8()

cn_substr_utf8(  $str,   $length,   $start) 

Parameters

$str
$length
$start

cn_substrR()

cn_substrR(  $str,   $slen,   $startdd) 

Parameters

$str
$slen
$startdd

cn_substrR()

cn_substrR(  $str,   $slen,   $startdd) 

Parameters

$str
$slen
$startdd

common_htmlspecialchars()

common_htmlspecialchars(  $str) 

Parameters

$str

common_htmlspecialchars()

common_htmlspecialchars(  $str) 

Parameters

$str

CreateDir()

CreateDir(  $spath) 

Parameters

$spath

createFolder()

createFolder(  $path) 

Parameters

$path

createFolder()

createFolder(  $path) 

Parameters

$path

date_range()

date_range(  $range,   $format = 'Y-m-d') 

Parameters

$range
$format

DB_Query()

DB_Query(  $sql) 

Parameters

$sql

dd2char()

dd2char(  $ddnum) 

Parameters

$ddnum

dede_strip_tags()

dede_strip_tags(  $str) 

Parameters

$str

DedeID2Dir()

DedeID2Dir(  $aid) 

Parameters

$aid

DelCache()

DelCache(  $prefix,   $key,   $is_memcache = TRUE) 

Parameters

$prefix
$key
$is_memcache

dir_writeable()

dir_writeable(  $dir) : \number

dir is writeable

Parameters

$dir

Returns

\number

dirfile_check()

dirfile_check(  $dirfile_items) 

file check

Parameters

$dirfile_items

DropCookie()

DropCookie(  $key) 

Parameters

$key

droptable()

droptable(  $table_name) 

drop table

Parameters

$table_name

Dump()

Dump(  $var,   $echo = true,   $label = null,   $strict = true) 

Parameters

$var
$echo
$label
$strict

env_check()

env_check(  $env_items) 

environmental check

Parameters

$env_items

ExecTime()

ExecTime() 

file_put_contents()

file_put_contents(  $n,   $d,   $flag = false) 

Parameters

$n
$d
$flag

FillAttsDefault()

FillAttsDefault(  $atts,   $attlist) 

Parameters

$atts
$attlist

FilterSearch()

FilterSearch(  $keyword) 

Parameters

$keyword

FloorTime()

FloorTime(  $seconds) 

Parameters

$seconds

format_json_value()

format_json_value(  $value) 

Parameters

$value

FormatScript()

FormatScript(  $atme) 

Parameters

$atme

FtpChmod()

FtpChmod(  $truepath,   $mmode) 

Parameters

$truepath
$mmode

FtpMkdir()

FtpMkdir(  $truepath,   $mmode,   $isMkdir = true) 

Parameters

$truepath
$mmode
$isMkdir

function_check()

function_check(  $func_items) 

function is exist

Parameters

$func_items

gb2big5()

gb2big5(  $Text) 

Parameters

$Text

gb2utf8()

gb2utf8(  $gbstr) 

Parameters

$gbstr

gdversion()

gdversion() 

GetAlabNum()

GetAlabNum(  $fnum) 

Parameters

$fnum

GetAlabNum()

GetAlabNum(  $fnum) 

Parameters

$fnum

GetBookUrl()

GetBookUrl(  $bid,   $title,   $gdir) 

Parameters

$bid
$title
$gdir

GetCache()

GetCache(  $prefix,   $key,   $is_memcache = TRUE) 

Parameters

$prefix
$key
$is_memcache

GetCacheBlock()

GetCacheBlock(  $cacheid) 

Parameters

$cacheid

GetChannelTable()

GetChannelTable(  $id,   $formtype = 'channel') 

Parameters

$id
$formtype

GetCookie()

GetCookie(  $key) 

Parameters

$key

GetCurUrl()

GetCurUrl() 

GetDateMk()

GetDateMk(  $mktime) 

Parameters

$mktime

GetDateTimeMk()

GetDateTimeMk(  $mktime) 

Parameters

$mktime

GetEditor()

GetEditor(  $fname,   $fvalue,   $nheight = "350",   $etype = "Basic",   $gtype = "print",   $isfullpage = "FALSE",   $bbcode = false) 

Parameters

$fname
$fvalue
$nheight
$etype
$gtype
$isfullpage
$bbcode

GetFileName()

GetFileName(  $aid,   $typeid,   $timetag,   $title,   $ismake,   $rank,   $namerule = '',   $typedir = '',   $money,   $filename = '') 

Parameters

$aid
$typeid
$timetag
$title
$ismake
$rank
$namerule
$typedir
$money
$filename

GetFileNewName()

GetFileNewName(  $aid,   $typeid,   $timetag,   $title,   $ismake,   $rank,   $namerule = '',   $typedir = '',   $money,   $filename = '') 

Parameters

$aid
$typeid
$timetag
$title
$ismake
$rank
$namerule
$typedir
$money
$filename

getfiles()

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

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

Parameters

$path
$allowFiles
array $files

Returns

array

GetFileUrl()

GetFileUrl(  $aid,   $typeid,   $timetag,   $title,   $ismake,   $rank,   $namerule = '',   $typedir = '',   $money,   $filename = '',   $moresite,   $siteurl = '',   $sitepath = '') 

Parameters

$aid
$typeid
$timetag
$title
$ismake
$rank
$namerule
$typedir
$money
$filename
$moresite
$siteurl
$sitepath

GetFreeListUrl()

GetFreeListUrl(  $lid,   $namerule,   $listdir,   $defaultpage,   $nodefault) 

Parameters

$lid
$namerule
$listdir
$defaultpage
$nodefault

GetHotKeywords()

GetHotKeywords(  $dsql,   $num = 8,   $nday = 365,   $klen = 16,   $orderby = 'count') 

Parameters

$dsql
$num
$nday
$klen
$orderby

GetIndexKey()

GetIndexKey(  $arcrank,   $typeid,   $sortrank,   $channelid = 1,   $senddate,   $mid = 1) 

Parameters

$arcrank
$typeid
$sortrank
$channelid
$senddate
$mid

GetIP()

GetIP() 

GetMkTime()

GetMkTime(  $dtime) 

Parameters

$dtime

GetNewInfo()

GetNewInfo() 

GetOneArchive()

GetOneArchive(  $aid) 

Parameters

$aid

GetOneTypeUrlA()

GetOneTypeUrlA(  $typeinfos) 

Parameters

$typeinfos

GetParentIds()

GetParentIds(  $tid) 

Parameters

$tid

GetPinyin()

GetPinyin(  $str,   $ishead,   $isclose = 1) 

Parameters

$str
$ishead
$isclose

GetPinyin()

GetPinyin(  $str,   $ishead,   $isclose = 1) 

Parameters

$str
$ishead
$isclose

GetRankStar()

GetRankStar(  $rank) 

Parameters

$rank

GetSonIds()

GetSonIds(  $id,   $channel,   $addthis = true) 

Parameters

$id
$channel
$addthis

GetSonIdsLogic()

GetSonIdsLogic(  $id,   $sArr,   $channel,   $addthis = false) 

Parameters

$id
$sArr
$channel
$addthis

GetSysTemplets()

GetSysTemplets(  $filename) 

Parameters

$filename

GetTags()

GetTags(  $aid) 

Parameters

$aid

GetTemplets()

GetTemplets(  $filename) 

Parameters

$filename

GetTopid()

GetTopid(  $tid) 

Parameters

$tid

GetTopids()

GetTopids(  $tid) 

Parameters

$tid

GetTypeUrl()

GetTypeUrl(  $typeid,   $typedir,   $isdefault,   $defaultname,   $ispart,   $namerule2,   $moresite,   $siteurl = '',   $sitepath = '') 

Parameters

$typeid
$typedir
$isdefault
$defaultname
$ispart
$namerule2
$moresite
$siteurl
$sitepath

Gmapurl()

Gmapurl(  $gurl) 

Parameters

$gurl

HelloDede()

HelloDede() 

Html2Text()

Html2Text(  $str,   $r) 

Parameters

$str
$r

Html2Text()

Html2Text(  $str,   $r) 

Parameters

$str
$r

HtmlReplace()

HtmlReplace(  $str,   $rptype) 

Parameters

$str
$rptype

htmlspecialchars_decode()

htmlspecialchars_decode(  $str,   $options = ENT_COMPAT) 

Parameters

$str
$options

htmlspecialchars_decode()

htmlspecialchars_decode(  $str,   $options = ENT_COMPAT) 

Parameters

$str
$options

ImageResize()

ImageResize(  $srcFile,   $toW,   $toH,   $toFile = "") 

Parameters

$srcFile
$toW
$toH
$toFile

ImageResizeNew()

ImageResizeNew(  $srcFile,   $toW,   $toH,   $toFile = '',   $issave = TRUE) 

Parameters

$srcFile
$toW
$toH
$toFile
$issave

input()

input(  $data) 

Parameters

$data

InsertOneTag()

InsertOneTag(  $tag,   $aid) 

Parameters

$tag
$aid

InsertTags()

InsertTags(  $tag,   $aid) 

Parameters

$tag
$aid

IsName()

IsName(  $name) 

Parameters

$name

IsParent()

IsParent(  $sid,   $pid) 

Parameters

$sid
$pid

IsPass()

IsPass(  $pass) 

Parameters

$pass

json_decode()

json_decode(  $json,   $assoc = FALSE) 

Parameters

$json
$assoc

json_encode()

json_encode(  $data) 

Parameters

$data

jsScript()

jsScript(  $js) 

Parameters

$js

list2select()

list2select(  $list,   $pId,   $level,   $pk = 'id',   $pidk = 'pid',   $name = 'name',   $data = array()) 

Parameters

$list
$pId
$level
$pk
$pidk
$name
$data

list2tree()

list2tree(  $list,   $pId,   $level,   $pk = 'id',   $pidk = 'pid',   $name = 'name') 

Parameters

$list
$pId
$level
$pk
$pidk
$name

MagicVar()

MagicVar(  $v1,   $v2) 

Parameters

$v1
$v2

MakeOneTag()

MakeOneTag(  $dtp,   $refObj,   $parfield = 'Y') 

Parameters

$dtp
$refObj
$parfield

MemberUploads()

MemberUploads(  $upname,   $handname,   $userid,   $utype = 'image',   $exname = '',   $maxwidth,   $maxheight,   $water = false,   $isadmin = false) 

Parameters

$upname
$handname
$userid
$utype
$exname
$maxwidth
$maxheight
$water
$isadmin

MfTemplet()

MfTemplet(  $tmpdir) 

Parameters

$tmpdir

MfTypedir()

MfTypedir(  $typedir) 

Parameters

$typedir

MkdirAll()

MkdirAll(  $truepath,   $mmode) 

Parameters

$truepath
$mmode

msubstr()

msubstr(  $str,   $start,   $len) 

Parameters

$str
$start
$len

msubstr()

msubstr(  $str,   $start,   $len) 

Parameters

$str
$start
$len

MyDate()

MyDate(  $format = 'Y-m-d H:i:s',   $timest) 

Parameters

$format
$timest

OpenFtp()

OpenFtp() 

ParamError()

ParamError() 

ParCv()

ParCv(  $n) 

Parameters

$n

parseSmileys()

parseSmileys(  $str = '',   $image_url = '',   $ubb = true) 

Parameters

$str
$image_url
$ubb

PassGen()

PassGen(  $length = 8) 

Parameters

$length

PutCookie()

PutCookie(  $key,   $value,   $kptime,   $pa = "/") 

Parameters

$key
$value
$kptime
$pa

PutFile()

PutFile(  $file,   $content,   $flag) 

Parameters

$file
$content
$flag

Quote_replace()

Quote_replace(  $quote) 

Parameters

$quote

random()

random(  $length,   $numeric) 

Parameters

$length
$numeric

RemoveXSS()

RemoveXSS(  $val) 

Parameters

$val

RmRecurse()

RmRecurse(  $file) 

Parameters

$file

RndString()

RndString(  $body) 

Parameters

$body

runquery()

runquery(  $sql,   $db_prefix,   $mysqli) 

Parameters

$sql
$db_prefix
$mysqli

SetCache()

SetCache(  $prefix,   $key,   $value,   $timeout = 3600,   $is_memcache = TRUE) 

Parameters

$prefix
$key
$value
$timeout
$is_memcache

SetSysEnv()

SetSysEnv(  $typeid,   $typename = '',   $aid,   $title = '',   $curfile = '') 

Parameters

$typeid
$typename
$aid
$title
$curfile

show_msg()

show_msg(  $msg) 

Parameters

$msg

showjsmessage()

showjsmessage(  $message) 

Parameters

$message

smarty_block_textformat()

smarty_block_textformat(  $params,   $content,   $smarty) : string

Smarty {textformat}{/textformat} block plugin

Type: block function
Name: textformat
Purpose: format text a certain way with preset styles or custom wrap/indent settings

Parameters

$params
$content
$smarty

Returns

string —

string $content re-formatted

smarty_block_textformat()

smarty_block_textformat(  $params,   $content,   $smarty) : string

Smarty {textformat}{/textformat} block plugin

Type: block function
Name: textformat
Purpose: format text a certain way with preset styles or custom wrap/indent settings

Parameters

$params
$content
$smarty

Returns

string —

string $content re-formatted

smarty_compiler_assign()

smarty_compiler_assign(  $tag_attrs,   $compiler) 

Smarty {assign} compiler function plugin

Type: compiler function
Name: assign
Purpose: assign a value to a template variable

Parameters

$tag_attrs
$compiler

smarty_compiler_assign()

smarty_compiler_assign(  $tag_attrs,   $compiler) 

Smarty {assign} compiler function plugin

Type: compiler function
Name: assign
Purpose: assign a value to a template variable

Parameters

$tag_attrs
$compiler

smarty_core_assemble_plugin_filepath()

smarty_core_assemble_plugin_filepath(  $params,   $smarty) : string|false

assemble filepath of requested plugin

Parameters

$params
$smarty

Returns

string|false

smarty_core_assemble_plugin_filepath()

smarty_core_assemble_plugin_filepath(  $params,   $smarty) : string|false

assemble filepath of requested plugin

Parameters

$params
$smarty

Returns

string|false

smarty_core_assign_smarty_interface()

smarty_core_assign_smarty_interface(  $params,   $smarty) 

Smarty assign_smarty_interface core plugin

Type: core
Name: assign_smarty_interface
Purpose: assign the $smarty interface variable

Parameters

$params
$smarty

smarty_core_assign_smarty_interface()

smarty_core_assign_smarty_interface(  $params,   $smarty) 

Smarty assign_smarty_interface core plugin

Type: core
Name: assign_smarty_interface
Purpose: assign the $smarty interface variable

Parameters

$params
$smarty

smarty_core_create_dir_structure()

smarty_core_create_dir_structure(  $params,   $smarty) 

create full directory structure

Parameters

$params
$smarty

smarty_core_create_dir_structure()

smarty_core_create_dir_structure(  $params,   $smarty) 

create full directory structure

Parameters

$params
$smarty

smarty_core_display_debug_console()

smarty_core_display_debug_console(  $params,   $smarty) 

Smarty debug_console function plugin

Type: core
Name: display_debug_console
Purpose: display the javascript debug console window

Parameters

$params
$smarty

smarty_core_display_debug_console()

smarty_core_display_debug_console(  $params,   $smarty) 

Smarty debug_console function plugin

Type: core
Name: display_debug_console
Purpose: display the javascript debug console window

Parameters

$params
$smarty

smarty_core_get_include_path()

smarty_core_get_include_path(  $params,   $smarty) : boolean

Get path to file from include_path

Parameters

$params
$smarty

Returns

boolean

smarty_core_get_include_path()

smarty_core_get_include_path(  $params,   $smarty) : boolean

Get path to file from include_path

Parameters

$params
$smarty

Returns

boolean

smarty_core_get_microtime()

smarty_core_get_microtime(  $params,   $smarty) : double

Get seconds and microseconds

Parameters

$params
$smarty

Returns

double

smarty_core_get_microtime()

smarty_core_get_microtime(  $params,   $smarty) : double

Get seconds and microseconds

Parameters

$params
$smarty

Returns

double

smarty_core_get_php_resource()

smarty_core_get_php_resource(  $params,   $smarty) : boolean

Retrieves PHP script resource

sets $php_resource to the returned resource

Parameters

$params
$smarty

Returns

boolean

smarty_core_get_php_resource()

smarty_core_get_php_resource(  $params,   $smarty) : boolean

Retrieves PHP script resource

sets $php_resource to the returned resource

Parameters

$params
$smarty

Returns

boolean

smarty_core_is_secure()

smarty_core_is_secure(  $params,   $smarty) : boolean

determines if a resource is secure or not.

Parameters

$params
$smarty

Returns

boolean

smarty_core_is_secure()

smarty_core_is_secure(  $params,   $smarty) : boolean

determines if a resource is secure or not.

Parameters

$params
$smarty

Returns

boolean

smarty_core_is_trusted()

smarty_core_is_trusted(  $params,   $smarty) : boolean

determines if a resource is trusted or not

Parameters

$params
$smarty

Returns

boolean

smarty_core_is_trusted()

smarty_core_is_trusted(  $params,   $smarty) : boolean

determines if a resource is trusted or not

Parameters

$params
$smarty

Returns

boolean

smarty_core_load_plugins()

smarty_core_load_plugins(  $params,   $smarty) 

Load requested plugins

Parameters

$params
$smarty

smarty_core_load_plugins()

smarty_core_load_plugins(  $params,   $smarty) 

Load requested plugins

Parameters

$params
$smarty

smarty_core_load_resource_plugin()

smarty_core_load_resource_plugin(  $params,   $smarty) 

load a resource plugin

Parameters

$params
$smarty

smarty_core_load_resource_plugin()

smarty_core_load_resource_plugin(  $params,   $smarty) 

load a resource plugin

Parameters

$params
$smarty

smarty_core_process_cached_inserts()

smarty_core_process_cached_inserts(  $params,   $smarty) : string

Replace cached inserts with the actual results

Parameters

$params
$smarty

Returns

string

smarty_core_process_cached_inserts()

smarty_core_process_cached_inserts(  $params,   $smarty) : string

Replace cached inserts with the actual results

Parameters

$params
$smarty

Returns

string

smarty_core_process_compiled_include()

smarty_core_process_compiled_include(  $params,   $smarty) : string

Replace nocache-tags by results of the corresponding non-cacheable functions and return it

Parameters

$params
$smarty

Returns

string

smarty_core_process_compiled_include()

smarty_core_process_compiled_include(  $params,   $smarty) : string

Replace nocache-tags by results of the corresponding non-cacheable functions and return it

Parameters

$params
$smarty

Returns

string

smarty_core_read_cache_file()

smarty_core_read_cache_file(  $params,   $smarty) : boolean

read a cache file, determine if it needs to be regenerated or not

Parameters

$params
$smarty

Returns

boolean

smarty_core_read_cache_file()

smarty_core_read_cache_file(  $params,   $smarty) : boolean

read a cache file, determine if it needs to be regenerated or not

Parameters

$params
$smarty

Returns

boolean

smarty_core_rm_auto()

smarty_core_rm_auto(  $params,   $smarty) : boolean

delete an automagically created file by name and id

Parameters

$params
$smarty

Returns

boolean

smarty_core_rm_auto()

smarty_core_rm_auto(  $params,   $smarty) : boolean

delete an automagically created file by name and id

Parameters

$params
$smarty

Returns

boolean

smarty_core_rmdir()

smarty_core_rmdir(  $params,   $smarty) : boolean

delete a dir recursively (level=0 -> keep root) WARNING: no tests, it will try to remove what you tell it!

Parameters

$params
$smarty

Returns

boolean

smarty_core_rmdir()

smarty_core_rmdir(  $params,   $smarty) : boolean

delete a dir recursively (level=0 -> keep root) WARNING: no tests, it will try to remove what you tell it!

Parameters

$params
$smarty

Returns

boolean

smarty_core_run_insert_handler()

smarty_core_run_insert_handler(  $params,   $smarty) : string

Handle insert tags

Parameters

$params
$smarty

Returns

string

smarty_core_run_insert_handler()

smarty_core_run_insert_handler(  $params,   $smarty) : string

Handle insert tags

Parameters

$params
$smarty

Returns

string

smarty_core_smarty_include_php()

smarty_core_smarty_include_php(  $params,   $smarty) 

called for included php files within templates

Parameters

$params
$smarty

smarty_core_smarty_include_php()

smarty_core_smarty_include_php(  $params,   $smarty) 

called for included php files within templates

Parameters

$params
$smarty

smarty_core_write_cache_file()

smarty_core_write_cache_file(  $params,   $smarty) : true|null

Prepend the cache information to the cache file and write it

Parameters

$params
$smarty

Returns

true|null

smarty_core_write_cache_file()

smarty_core_write_cache_file(  $params,   $smarty) : true|null

Prepend the cache information to the cache file and write it

Parameters

$params
$smarty

Returns

true|null

smarty_core_write_compiled_include()

smarty_core_write_compiled_include(  $params,   $smarty) : boolean

Extract non-cacheable parts out of compiled template and write it

Parameters

$params
$smarty

Returns

boolean

smarty_core_write_compiled_include()

smarty_core_write_compiled_include(  $params,   $smarty) : boolean

Extract non-cacheable parts out of compiled template and write it

Parameters

$params
$smarty

Returns

boolean

smarty_core_write_compiled_resource()

smarty_core_write_compiled_resource(  $params,   $smarty) : true

write the compiled resource

Parameters

$params
$smarty

Returns

true

smarty_core_write_compiled_resource()

smarty_core_write_compiled_resource(  $params,   $smarty) : true

write the compiled resource

Parameters

$params
$smarty

Returns

true

smarty_core_write_file()

smarty_core_write_file(  $params,   $smarty) : boolean

write out a file to disk

Parameters

$params
$smarty

Returns

boolean

smarty_core_write_file()

smarty_core_write_file(  $params,   $smarty) : boolean

write out a file to disk

Parameters

$params
$smarty

Returns

boolean

smarty_function_assign_debug_info()

smarty_function_assign_debug_info(  $params,   $smarty) 

Smarty {assign_debug_info} function plugin

Type: function
Name: assign_debug_info
Purpose: assign debug info to the template

Parameters

$params
$smarty

smarty_function_assign_debug_info()

smarty_function_assign_debug_info(  $params,   $smarty) 

Smarty {assign_debug_info} function plugin

Type: function
Name: assign_debug_info
Purpose: assign debug info to the template

Parameters

$params
$smarty

smarty_function_config_load()

smarty_function_config_load(  $params,   $smarty) 

Smarty {config_load} function plugin

Type: function
Name: config_load
Purpose: load config file vars

Parameters

$params
$smarty

smarty_function_config_load()

smarty_function_config_load(  $params,   $smarty) 

Smarty {config_load} function plugin

Type: function
Name: config_load
Purpose: load config file vars

Parameters

$params
$smarty

smarty_function_counter()

smarty_function_counter(  $params,   $smarty) : string|null

Smarty {counter} function plugin

Type: function
Name: counter
Purpose: print out a counter value

Parameters

$params
$smarty

Returns

string|null

smarty_function_counter()

smarty_function_counter(  $params,   $smarty) : string|null

Smarty {counter} function plugin

Type: function
Name: counter
Purpose: print out a counter value

Parameters

$params
$smarty

Returns

string|null

smarty_function_cycle()

smarty_function_cycle(  $params,   $smarty) : string|null

Smarty {cycle} function plugin

Type: function
Name: cycle
Date: May 3, 2002
Purpose: cycle through given values
Input:

  • name = name of cycle (optional)
  • values = comma separated list of values to cycle, or an array of values to cycle (this can be left out for subsequent calls)
  • reset = boolean - resets given var to true
  • print = boolean - print var or not. default is true
  • advance = boolean - whether or not to advance the cycle
  • delimiter = the value delimiter, default is ","
  • assign = boolean, assigns to template var instead of printed.

Examples:

{cycle values="#eeeeee,#d0d0d0d"}
{cycle name=row values="one,two,three" reset=true}
{cycle name=row}

Parameters

$params
$smarty

Returns

string|null

smarty_function_cycle()

smarty_function_cycle(  $params,   $smarty) : string|null

Smarty {cycle} function plugin

Type: function
Name: cycle
Date: May 3, 2002
Purpose: cycle through given values
Input:

  • name = name of cycle (optional)
  • values = comma separated list of values to cycle, or an array of values to cycle (this can be left out for subsequent calls)
  • reset = boolean - resets given var to true
  • print = boolean - print var or not. default is true
  • advance = boolean - whether or not to advance the cycle
  • delimiter = the value delimiter, default is ","
  • assign = boolean, assigns to template var instead of printed.

Examples:

{cycle values="#eeeeee,#d0d0d0d"}
{cycle name=row values="one,two,three" reset=true}
{cycle name=row}

Parameters

$params
$smarty

Returns

string|null

smarty_function_debug()

smarty_function_debug(  $params,   $smarty) : string

Smarty {debug} function plugin

Type: function
Name: debug
Date: July 1, 2002
Purpose: popup debug window

Parameters

$params
$smarty

Returns

string —

output from {@link Smarty::_generate_debug_output()}

smarty_function_debug()

smarty_function_debug(  $params,   $smarty) : string

Smarty {debug} function plugin

Type: function
Name: debug
Date: July 1, 2002
Purpose: popup debug window

Parameters

$params
$smarty

Returns

string —

output from {@link Smarty::_generate_debug_output()}

smarty_function_escape_special_chars()

smarty_function_escape_special_chars(  $string) : string

escape_special_chars common function

Function: smarty_function_escape_special_chars
Purpose: used by other smarty functions to escape special chars except for already escaped ones

Parameters

$string

Returns

string

smarty_function_escape_special_chars()

smarty_function_escape_special_chars(  $string) : string

escape_special_chars common function

Function: smarty_function_escape_special_chars
Purpose: used by other smarty functions to escape special chars except for already escaped ones

Parameters

$string

Returns

string

smarty_function_eval()

smarty_function_eval(  $params,   $smarty) 

Smarty {eval} function plugin

Type: function
Name: eval
Purpose: evaluate a template variable as a template

Parameters

$params
$smarty

smarty_function_eval()

smarty_function_eval(  $params,   $smarty) 

Smarty {eval} function plugin

Type: function
Name: eval
Purpose: evaluate a template variable as a template

Parameters

$params
$smarty

smarty_function_fetch()

smarty_function_fetch(  $params,   $smarty) : string|null

Smarty {fetch} plugin

Type: function
Name: fetch
Purpose: fetch file, web or ftp data and display results

Parameters

$params
$smarty

Returns

string|null —

if the assign parameter is passed, Smarty assigns the result to a template variable

smarty_function_fetch()

smarty_function_fetch(  $params,   $smarty) : string|null

Smarty {fetch} plugin

Type: function
Name: fetch
Purpose: fetch file, web or ftp data and display results

Parameters

$params
$smarty

Returns

string|null —

if the assign parameter is passed, Smarty assigns the result to a template variable

smarty_function_html_checkboxes()

smarty_function_html_checkboxes(  $params,   $smarty) : string

Smarty {html_checkboxes} function plugin

File: function.html_checkboxes.php
Type: function
Name: html_checkboxes
Date: 24.Feb.2003
Purpose: Prints out a list of checkbox input types
Input:

  • name (optional) - string default "checkbox"
  • values (required) - array
  • options (optional) - associative array
  • checked (optional) - array default not set
  • separator (optional) - ie
    or  
  • output (optional) - the output next to each checkbox
  • assign (optional) - assign the output as an array to this variable Examples:
    {html_checkboxes values=$ids output=$names}
    {html_checkboxes values=$ids name='box' separator='
    ' output=$names} {html_checkboxes values=$ids checked=$checked separator='
    ' output=$names}

Parameters

$params
$smarty

Returns

string

smarty_function_html_checkboxes()

smarty_function_html_checkboxes(  $params,   $smarty) : string

Smarty {html_checkboxes} function plugin

File: function.html_checkboxes.php
Type: function
Name: html_checkboxes
Date: 24.Feb.2003
Purpose: Prints out a list of checkbox input types
Input:

  • name (optional) - string default "checkbox"
  • values (required) - array
  • options (optional) - associative array
  • checked (optional) - array default not set
  • separator (optional) - ie
    or  
  • output (optional) - the output next to each checkbox
  • assign (optional) - assign the output as an array to this variable Examples:
    {html_checkboxes values=$ids output=$names}
    {html_checkboxes values=$ids name='box' separator='
    ' output=$names} {html_checkboxes values=$ids checked=$checked separator='
    ' output=$names}

Parameters

$params
$smarty

Returns

string

smarty_function_html_checkboxes_output()

smarty_function_html_checkboxes_output(  $name,   $value,   $output,   $selected,   $extra,   $separator,   $labels) 

Parameters

$name
$value
$output
$selected
$extra
$separator
$labels

smarty_function_html_checkboxes_output()

smarty_function_html_checkboxes_output(  $name,   $value,   $output,   $selected,   $extra,   $separator,   $labels) 

Parameters

$name
$value
$output
$selected
$extra
$separator
$labels

smarty_function_html_image()

smarty_function_html_image(  $params,   $smarty) : string

Smarty {html_image} function plugin

Type: function
Name: html_image
Date: Feb 24, 2003
Purpose: format HTML tags for the image
Input:

  • file = file (and path) of image (required)
  • height = image height (optional, default actual height)
  • width = image width (optional, default actual width)
  • basedir = base directory for absolute paths, default is environment variable DOCUMENT_ROOT
  • path_prefix = prefix for path output (optional, default empty)

Examples: {html_image file="/images/masthead.gif"} Output:

Parameters

$params
$smarty

Returns

string

smarty_function_html_image()

smarty_function_html_image(  $params,   $smarty) : string

Smarty {html_image} function plugin

Type: function
Name: html_image
Date: Feb 24, 2003
Purpose: format HTML tags for the image
Input:

  • file = file (and path) of image (required)
  • height = image height (optional, default actual height)
  • width = image width (optional, default actual width)
  • basedir = base directory for absolute paths, default is environment variable DOCUMENT_ROOT
  • path_prefix = prefix for path output (optional, default empty)

Examples: {html_image file="/images/masthead.gif"} Output:

Parameters

$params
$smarty

Returns

string

smarty_function_html_options()

smarty_function_html_options(  $params,   $smarty) : string

Smarty {html_options} function plugin

Type: function
Name: html_options
Input:

  • name (optional) - string default "select"
  • values (required if no options supplied) - array
  • options (required if no values supplied) - associative array
  • selected (optional) - string default not set
  • output (required if not options supplied) - array Purpose: Prints the list of

Parameters

$params
$smarty

Returns

string

smarty_function_html_options()

smarty_function_html_options(  $params,   $smarty) : string

Smarty {html_options} function plugin

Type: function
Name: html_options
Input:

  • name (optional) - string default "select"
  • values (required if no options supplied) - array
  • options (required if no values supplied) - associative array
  • selected (optional) - string default not set
  • output (required if not options supplied) - array Purpose: Prints the list of

Parameters

$params
$smarty

Returns

string

smarty_function_html_options_optgroup()

smarty_function_html_options_optgroup(  $key,   $values,   $selected) 

Parameters

$key
$values
$selected

smarty_function_html_options_optgroup()

smarty_function_html_options_optgroup(  $key,   $values,   $selected) 

Parameters

$key
$values
$selected

smarty_function_html_options_optoutput()

smarty_function_html_options_optoutput(  $key,   $value,   $selected) 

Parameters

$key
$value
$selected

smarty_function_html_options_optoutput()

smarty_function_html_options_optoutput(  $key,   $value,   $selected) 

Parameters

$key
$value
$selected

smarty_function_html_radios()

smarty_function_html_radios(  $params,   $smarty) : string

Smarty {html_radios} function plugin

File: function.html_radios.php
Type: function
Name: html_radios
Date: 24.Feb.2003
Purpose: Prints out a list of radio input types
Input:

  • name (optional) - string default "radio"
  • values (required) - array
  • options (optional) - associative array
  • checked (optional) - array default not set
  • separator (optional) - ie
    or  
  • output (optional) - the output next to each radio button
  • assign (optional) - assign the output as an array to this variable Examples:
    {html_radios values=$ids output=$names}
    {html_radios values=$ids name='box' separator='
    ' output=$names} {html_radios values=$ids checked=$checked separator='
    ' output=$names}

Parameters

$params
$smarty

Returns

string

smarty_function_html_radios()

smarty_function_html_radios(  $params,   $smarty) : string

Smarty {html_radios} function plugin

File: function.html_radios.php
Type: function
Name: html_radios
Date: 24.Feb.2003
Purpose: Prints out a list of radio input types
Input:

  • name (optional) - string default "radio"
  • values (required) - array
  • options (optional) - associative array
  • checked (optional) - array default not set
  • separator (optional) - ie
    or  
  • output (optional) - the output next to each radio button
  • assign (optional) - assign the output as an array to this variable Examples:
    {html_radios values=$ids output=$names}
    {html_radios values=$ids name='box' separator='
    ' output=$names} {html_radios values=$ids checked=$checked separator='
    ' output=$names}

Parameters

$params
$smarty

Returns

string

smarty_function_html_radios_output()

smarty_function_html_radios_output(  $name,   $value,   $output,   $selected,   $extra,   $separator,   $labels,   $label_ids) 

Parameters

$name
$value
$output
$selected
$extra
$separator
$labels
$label_ids

smarty_function_html_radios_output()

smarty_function_html_radios_output(  $name,   $value,   $output,   $selected,   $extra,   $separator,   $labels,   $label_ids) 

Parameters

$name
$value
$output
$selected
$extra
$separator
$labels
$label_ids

smarty_function_html_select_date()

smarty_function_html_select_date(  $params,   $smarty) : string

Smarty {html_select_date} plugin

Type: function
Name: html_select_date
Purpose: Prints the dropdowns for date selection.

ChangeLog:

  • 1.0 initial release
  • 1.1 added support for +/- N syntax for begin and end year values. (Monte)
  • 1.2 added support for yyyy-mm-dd syntax for time value. (Jan Rosier)
  • 1.3 added support for choosing format for month values (Gary Loescher)
  • 1.3.1 added support for choosing format for day values (Marcus Bointon)
  • 1.3.2 support negative timestamps, force year dropdown to include given date unless explicitly set (Monte)
  • 1.3.4 fix behaviour of 0000-00-00 00:00:00 dates to match that of 0000-00-00 dates (cybot, boots)

Parameters

$params
$smarty

Returns

string

smarty_function_html_select_date()

smarty_function_html_select_date(  $params,   $smarty) : string

Smarty {html_select_date} plugin

Type: function
Name: html_select_date
Purpose: Prints the dropdowns for date selection.

ChangeLog:

  • 1.0 initial release
  • 1.1 added support for +/- N syntax for begin and end year values. (Monte)
  • 1.2 added support for yyyy-mm-dd syntax for time value. (Jan Rosier)
  • 1.3 added support for choosing format for month values (Gary Loescher)
  • 1.3.1 added support for choosing format for day values (Marcus Bointon)
  • 1.3.2 support negative timestamps, force year dropdown to include given date unless explicitly set (Monte)
  • 1.3.4 fix behaviour of 0000-00-00 00:00:00 dates to match that of 0000-00-00 dates (cybot, boots)

Parameters

$params
$smarty

Returns

string

smarty_function_html_select_time()

smarty_function_html_select_time(  $params,   $smarty) : string

Smarty {html_select_time} function plugin

Type: function
Name: html_select_time
Purpose: Prints the dropdowns for time selection

Parameters

$params
$smarty

Returns

string

smarty_function_html_select_time()

smarty_function_html_select_time(  $params,   $smarty) : string

Smarty {html_select_time} function plugin

Type: function
Name: html_select_time
Purpose: Prints the dropdowns for time selection

Parameters

$params
$smarty

Returns

string

smarty_function_html_table()

smarty_function_html_table(  $params,   $smarty) : string

Smarty {html_table} function plugin

Type: function
Name: html_table
Date: Feb 17, 2003
Purpose: make an html table from an array of data
Input:

  • loop = array to loop through
  • cols = number of columns, comma separated list of column names or array of column names
  • rows = number of rows
  • table_attr = table attributes
  • th_attr = table heading attributes (arrays are cycled)
  • tr_attr = table row attributes (arrays are cycled)
  • td_attr = table cell attributes (arrays are cycled)
  • trailpad = value to pad trailing cells with
  • caption = text for caption element
  • vdir = vertical direction (default: "down", means top-to-bottom)
  • hdir = horizontal direction (default: "right", means left-to-right)
  • inner = inner loop (default "cols": print $loop line by line, $loop will be printed column by column otherwise)

Examples:

{table loop=$data}
{table loop=$data cols=4 tr_attr='"bgcolor=red"'}
{table loop=$data cols="first,second,third" tr_attr=$colors}

Parameters

$params
$smarty

Returns

string

smarty_function_html_table()

smarty_function_html_table(  $params,   $smarty) : string

Smarty {html_table} function plugin

Type: function
Name: html_table
Date: Feb 17, 2003
Purpose: make an html table from an array of data
Input:

  • loop = array to loop through
  • cols = number of columns, comma separated list of column names or array of column names
  • rows = number of rows
  • table_attr = table attributes
  • th_attr = table heading attributes (arrays are cycled)
  • tr_attr = table row attributes (arrays are cycled)
  • td_attr = table cell attributes (arrays are cycled)
  • trailpad = value to pad trailing cells with
  • caption = text for caption element
  • vdir = vertical direction (default: "down", means top-to-bottom)
  • hdir = horizontal direction (default: "right", means left-to-right)
  • inner = inner loop (default "cols": print $loop line by line, $loop will be printed column by column otherwise)

Examples:

{table loop=$data}
{table loop=$data cols=4 tr_attr='"bgcolor=red"'}
{table loop=$data cols="first,second,third" tr_attr=$colors}

Parameters

$params
$smarty

Returns

string

smarty_function_html_table_cycle()

smarty_function_html_table_cycle(  $name,   $var,   $no) 

Parameters

$name
$var
$no

smarty_function_html_table_cycle()

smarty_function_html_table_cycle(  $name,   $var,   $no) 

Parameters

$name
$var
$no

smarty_function_mailto()

smarty_function_mailto(  $params,   $smarty) : string

Smarty {mailto} function plugin

Type: function
Name: mailto
Date: May 21, 2002 Purpose: automate mailto address link creation, and optionally encode them.
Input:

  • address = e-mail address
  • text = (optional) text to display, default is address
  • encode = (optional) can be one of:
    • none : no encoding (default)
    • javascript : encode with javascript
    • javascript_charcode : encode with javascript charcode
    • hex : encode with hexidecimal (no javascript)
  • cc = (optional) address(es) to carbon copy
  • bcc = (optional) address(es) to blind carbon copy
  • subject = (optional) e-mail subject
  • newsgroups = (optional) newsgroup(s) to post to
  • followupto = (optional) address(es) to follow up to
  • extra = (optional) extra tags for the href link

Examples:

{mailto address="me@domain.com"}
{mailto address="me@domain.com" encode="javascript"}
{mailto address="me@domain.com" encode="hex"}
{mailto address="me@domain.com" subject="Hello to you!"}
{mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
{mailto address="me@domain.com" extra='class="mailto"'}

Parameters

$params
$smarty

Returns

string

smarty_function_mailto()

smarty_function_mailto(  $params,   $smarty) : string

Smarty {mailto} function plugin

Type: function
Name: mailto
Date: May 21, 2002 Purpose: automate mailto address link creation, and optionally encode them.
Input:

  • address = e-mail address
  • text = (optional) text to display, default is address
  • encode = (optional) can be one of:
    • none : no encoding (default)
    • javascript : encode with javascript
    • javascript_charcode : encode with javascript charcode
    • hex : encode with hexidecimal (no javascript)
  • cc = (optional) address(es) to carbon copy
  • bcc = (optional) address(es) to blind carbon copy
  • subject = (optional) e-mail subject
  • newsgroups = (optional) newsgroup(s) to post to
  • followupto = (optional) address(es) to follow up to
  • extra = (optional) extra tags for the href link

Examples:

{mailto address="me@domain.com"}
{mailto address="me@domain.com" encode="javascript"}
{mailto address="me@domain.com" encode="hex"}
{mailto address="me@domain.com" subject="Hello to you!"}
{mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
{mailto address="me@domain.com" extra='class="mailto"'}

Parameters

$params
$smarty

Returns

string

smarty_function_math()

smarty_function_math(  $params,   $smarty) : string

Smarty {math} function plugin

Type: function
Name: math
Purpose: handle math computations in template

Parameters

$params
$smarty

Returns

string

smarty_function_math()

smarty_function_math(  $params,   $smarty) : string

Smarty {math} function plugin

Type: function
Name: math
Purpose: handle math computations in template

Parameters

$params
$smarty

Returns

string

smarty_function_popup()

smarty_function_popup(  $params,   $smarty) : string

Smarty {popup} function plugin

Type: function
Name: popup
Purpose: make text pop up in windows via overlib

Parameters

$params
$smarty

Returns

string

smarty_function_popup()

smarty_function_popup(  $params,   $smarty) : string

Smarty {popup} function plugin

Type: function
Name: popup
Purpose: make text pop up in windows via overlib

Parameters

$params
$smarty

Returns

string

smarty_function_popup_init()

smarty_function_popup_init(  $params,   $smarty) : string

Smarty {popup_init} function plugin

Type: function
Name: popup_init
Purpose: initialize overlib

Parameters

$params
$smarty

Returns

string

smarty_function_popup_init()

smarty_function_popup_init(  $params,   $smarty) : string

Smarty {popup_init} function plugin

Type: function
Name: popup_init
Purpose: initialize overlib

Parameters

$params
$smarty

Returns

string

smarty_make_timestamp()

smarty_make_timestamp(  $string) : string

Function: smarty_make_timestamp<br> Purpose: used by other smarty functions to make a timestamp from a string.

Parameters

$string

Returns

string

smarty_make_timestamp()

smarty_make_timestamp(  $string) : string

Function: smarty_make_timestamp<br> Purpose: used by other smarty functions to make a timestamp from a string.

Parameters

$string

Returns

string

smarty_modifier_capitalize()

smarty_modifier_capitalize(  $string,   $uc_digits = false) : string

Smarty capitalize modifier plugin

Type: modifier
Name: capitalize
Purpose: capitalize words in the string

Parameters

$string
$uc_digits

Returns

string

smarty_modifier_capitalize()

smarty_modifier_capitalize(  $string,   $uc_digits = false) : string

Smarty capitalize modifier plugin

Type: modifier
Name: capitalize
Purpose: capitalize words in the string

Parameters

$string
$uc_digits

Returns

string

smarty_modifier_capitalize_ucfirst()

smarty_modifier_capitalize_ucfirst(  $string,   $uc_digits = null) 

Parameters

$string
$uc_digits

smarty_modifier_capitalize_ucfirst()

smarty_modifier_capitalize_ucfirst(  $string,   $uc_digits = null) 

Parameters

$string
$uc_digits

smarty_modifier_cat()

smarty_modifier_cat(  $string,   $cat) : string

Smarty cat modifier plugin

Type: modifier
Name: cat
Date: Feb 24, 2003 Purpose: catenate a value to a variable Input: string to catenate Example: {$var|cat:"foo"}

Parameters

$string
$cat

Returns

string

smarty_modifier_cat()

smarty_modifier_cat(  $string,   $cat) : string

Smarty cat modifier plugin

Type: modifier
Name: cat
Date: Feb 24, 2003 Purpose: catenate a value to a variable Input: string to catenate Example: {$var|cat:"foo"}

Parameters

$string
$cat

Returns

string

smarty_modifier_count_characters()

smarty_modifier_count_characters(  $string,   $include_spaces = false) : integer

Smarty count_characters modifier plugin

Type: modifier
Name: count_characteres
Purpose: count the number of characters in a text

Parameters

$string
$include_spaces

Returns

integer

smarty_modifier_count_characters()

smarty_modifier_count_characters(  $string,   $include_spaces = false) : integer

Smarty count_characters modifier plugin

Type: modifier
Name: count_characteres
Purpose: count the number of characters in a text

Parameters

$string
$include_spaces

Returns

integer

smarty_modifier_count_paragraphs()

smarty_modifier_count_paragraphs(  $string) : integer

Smarty count_paragraphs modifier plugin

Type: modifier
Name: count_paragraphs
Purpose: count the number of paragraphs in a text

Parameters

$string

Returns

integer

smarty_modifier_count_paragraphs()

smarty_modifier_count_paragraphs(  $string) : integer

Smarty count_paragraphs modifier plugin

Type: modifier
Name: count_paragraphs
Purpose: count the number of paragraphs in a text

Parameters

$string

Returns

integer

smarty_modifier_count_sentences()

smarty_modifier_count_sentences(  $string) : integer

Smarty count_sentences modifier plugin

Type: modifier
Name: count_sentences Purpose: count the number of sentences in a text

Parameters

$string

Returns

integer

smarty_modifier_count_sentences()

smarty_modifier_count_sentences(  $string) : integer

Smarty count_sentences modifier plugin

Type: modifier
Name: count_sentences Purpose: count the number of sentences in a text

Parameters

$string

Returns

integer

smarty_modifier_count_words()

smarty_modifier_count_words(  $string) : integer

Smarty count_words modifier plugin

Type: modifier
Name: count_words
Purpose: count the number of words in a text

Parameters

$string

Returns

integer

smarty_modifier_count_words()

smarty_modifier_count_words(  $string) : integer

Smarty count_words modifier plugin

Type: modifier
Name: count_words
Purpose: count the number of words in a text

Parameters

$string

Returns

integer

smarty_modifier_date_format()

smarty_modifier_date_format(  $string,   $format = '%b %e, %Y',   $default_date = '') : string|void

Smarty date_format modifier plugin

Type: modifier
Name: date_format
Purpose: format datestamps via strftime
Input:

  • string: input date string
  • format: strftime format for output
  • default_date: default date if $string is empty

Parameters

$string
$format
$default_date

Returns

string|void

smarty_modifier_date_format()

smarty_modifier_date_format(  $string,   $format = '%b %e, %Y',   $default_date = '') : string|void

Smarty date_format modifier plugin

Type: modifier
Name: date_format
Purpose: format datestamps via strftime
Input:

  • string: input date string
  • format: strftime format for output
  • default_date: default date if $string is empty

Parameters

$string
$format
$default_date

Returns

string|void

smarty_modifier_debug_print_var()

smarty_modifier_debug_print_var(  $var,   $depth,   $length = 40) : string

Smarty debug_print_var modifier plugin

Type: modifier
Name: debug_print_var
Purpose: formats variable contents for display in the console

Parameters

$var
$depth
$length

Returns

string

smarty_modifier_debug_print_var()

smarty_modifier_debug_print_var(  $var,   $depth,   $length = 40) : string

Smarty debug_print_var modifier plugin

Type: modifier
Name: debug_print_var
Purpose: formats variable contents for display in the console

Parameters

$var
$depth
$length

Returns

string

smarty_modifier_default()

smarty_modifier_default(  $string,   $default = '') : string

Smarty default modifier plugin

Type: modifier
Name: default
Purpose: designate default value for empty variables

Parameters

$string
$default

Returns

string

smarty_modifier_default()

smarty_modifier_default(  $string,   $default = '') : string

Smarty default modifier plugin

Type: modifier
Name: default
Purpose: designate default value for empty variables

Parameters

$string
$default

Returns

string

smarty_modifier_escape()

smarty_modifier_escape(  $string,   $esc_type = 'html',   $char_set = 'ISO-8859-1') : string

Smarty escape modifier plugin

Type: modifier
Name: escape
Purpose: Escape the string according to escapement type

Parameters

$string
$esc_type
$char_set

Returns

string

smarty_modifier_escape()

smarty_modifier_escape(  $string,   $esc_type = 'html',   $char_set = 'ISO-8859-1') : string

Smarty escape modifier plugin

Type: modifier
Name: escape
Purpose: Escape the string according to escapement type

Parameters

$string
$esc_type
$char_set

Returns

string

smarty_modifier_indent()

smarty_modifier_indent(  $string,   $chars = 4,   $char = " ") : string

Smarty indent modifier plugin

Type: modifier
Name: indent
Purpose: indent lines of text

Parameters

$string
$chars
$char

Returns

string

smarty_modifier_indent()

smarty_modifier_indent(  $string,   $chars = 4,   $char = " ") : string

Smarty indent modifier plugin

Type: modifier
Name: indent
Purpose: indent lines of text

Parameters

$string
$chars
$char

Returns

string

smarty_modifier_lower()

smarty_modifier_lower(  $string) : string

Smarty lower modifier plugin

Type: modifier
Name: lower
Purpose: convert string to lowercase

Parameters

$string

Returns

string

smarty_modifier_lower()

smarty_modifier_lower(  $string) : string

Smarty lower modifier plugin

Type: modifier
Name: lower
Purpose: convert string to lowercase

Parameters

$string

Returns

string

smarty_modifier_nl2br()

smarty_modifier_nl2br(  $string) : string

Smarty plugin

Type: modifier
Name: nl2br
Date: Feb 26, 2003 Purpose: convert \r\n, \r or \n to <
> Input:

  • contents = contents to replace
  • preceed_test = if true, includes preceeding break tags in replacement Example: {$text|nl2br}

Parameters

$string

Returns

string

smarty_modifier_nl2br()

smarty_modifier_nl2br(  $string) : string

Smarty plugin

Type: modifier
Name: nl2br
Date: Feb 26, 2003 Purpose: convert \r\n, \r or \n to <
> Input:

  • contents = contents to replace
  • preceed_test = if true, includes preceeding break tags in replacement Example: {$text|nl2br}

Parameters

$string

Returns

string

smarty_modifier_regex_replace()

smarty_modifier_regex_replace(  $string,   $search,   $replace) : string

Smarty regex_replace modifier plugin

Type: modifier
Name: regex_replace
Purpose: regular expression search/replace

Parameters

$string
$search
$replace

Returns

string

smarty_modifier_regex_replace()

smarty_modifier_regex_replace(  $string,   $search,   $replace) : string

Smarty regex_replace modifier plugin

Type: modifier
Name: regex_replace
Purpose: regular expression search/replace

Parameters

$string
$search
$replace

Returns

string

smarty_modifier_replace()

smarty_modifier_replace(  $string,   $search,   $replace) : string

Smarty replace modifier plugin

Type: modifier
Name: replace
Purpose: simple search/replace

Parameters

$string
$search
$replace

Returns

string

smarty_modifier_replace()

smarty_modifier_replace(  $string,   $search,   $replace) : string

Smarty replace modifier plugin

Type: modifier
Name: replace
Purpose: simple search/replace

Parameters

$string
$search
$replace

Returns

string

smarty_modifier_spacify()

smarty_modifier_spacify(  $string,   $spacify_char = ' ') : string

Smarty spacify modifier plugin

Type: modifier
Name: spacify
Purpose: add spaces between characters in a string

Parameters

$string
$spacify_char

Returns

string

smarty_modifier_spacify()

smarty_modifier_spacify(  $string,   $spacify_char = ' ') : string

Smarty spacify modifier plugin

Type: modifier
Name: spacify
Purpose: add spaces between characters in a string

Parameters

$string
$spacify_char

Returns

string

smarty_modifier_string_format()

smarty_modifier_string_format(  $string,   $format) : string

Smarty string_format modifier plugin

Type: modifier
Name: string_format
Purpose: format strings via sprintf

Parameters

$string
$format

Returns

string

smarty_modifier_string_format()

smarty_modifier_string_format(  $string,   $format) : string

Smarty string_format modifier plugin

Type: modifier
Name: string_format
Purpose: format strings via sprintf

Parameters

$string
$format

Returns

string

smarty_modifier_strip()

smarty_modifier_strip(  $text,   $replace = ' ') : string

Smarty strip modifier plugin

Type: modifier
Name: strip
Purpose: Replace all repeated spaces, newlines, tabs with a single space or supplied replacement string.
Example: {$var|strip} {$var|strip:" "} Date: September 25th, 2002

Parameters

$text
$replace

Returns

string

smarty_modifier_strip()

smarty_modifier_strip(  $text,   $replace = ' ') : string

Smarty strip modifier plugin

Type: modifier
Name: strip
Purpose: Replace all repeated spaces, newlines, tabs with a single space or supplied replacement string.
Example: {$var|strip} {$var|strip:" "} Date: September 25th, 2002

Parameters

$text
$replace

Returns

string

smarty_modifier_strip_tags()

smarty_modifier_strip_tags(  $string,   $replace_with_space = true) : string

Smarty strip_tags modifier plugin

Type: modifier
Name: strip_tags
Purpose: strip html tags from text

Parameters

$string
$replace_with_space

Returns

string

smarty_modifier_strip_tags()

smarty_modifier_strip_tags(  $string,   $replace_with_space = true) : string

Smarty strip_tags modifier plugin

Type: modifier
Name: strip_tags
Purpose: strip html tags from text

Parameters

$string
$replace_with_space

Returns

string

smarty_modifier_truncate()

smarty_modifier_truncate(  $string,   $length = 80,   $etc = '...',   $break_words = false,   $middle = false) : string

Smarty truncate modifier plugin

Type: modifier
Name: truncate
Purpose: Truncate a string to a certain length if necessary, optionally splitting in the middle of a word, and appending the $etc string or inserting $etc into the middle.

Parameters

$string
$length
$etc
$break_words
$middle

Returns

string

smarty_modifier_truncate()

smarty_modifier_truncate(  $string,   $length = 80,   $etc = '...',   $break_words = false,   $middle = false) : string

Smarty truncate modifier plugin

Type: modifier
Name: truncate
Purpose: Truncate a string to a certain length if necessary, optionally splitting in the middle of a word, and appending the $etc string or inserting $etc into the middle.

Parameters

$string
$length
$etc
$break_words
$middle

Returns

string

smarty_modifier_upper()

smarty_modifier_upper(  $string) : string

Smarty upper modifier plugin

Type: modifier
Name: upper
Purpose: convert string to uppercase

Parameters

$string

Returns

string

smarty_modifier_upper()

smarty_modifier_upper(  $string) : string

Smarty upper modifier plugin

Type: modifier
Name: upper
Purpose: convert string to uppercase

Parameters

$string

Returns

string

smarty_modifier_wordwrap()

smarty_modifier_wordwrap(  $string,   $length = 80,   $break = "\n",   $cut = false) : string

Smarty wordwrap modifier plugin

Type: modifier
Name: wordwrap
Purpose: wrap a string of text at a given length

Parameters

$string
$length
$break
$cut

Returns

string

smarty_modifier_wordwrap()

smarty_modifier_wordwrap(  $string,   $length = 80,   $break = "\n",   $cut = false) : string

Smarty wordwrap modifier plugin

Type: