ThinkPHP/Extend/Mode/Clifunctions.php

Think 命令行模式公共函数库

Functions

halt()

halt(  $error) 

Parameters

$error

throw_exception()

throw_exception(  $msg,   $type = 'ThinkException',   $code) 

Parameters

$msg
$type
$code

dump()

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

Parameters

$var
$echo
$label
$strict

debug_start()

debug_start(  $label = '') 

Parameters

$label

debug_end()

debug_end(  $label = '') 

Parameters

$label

S()

S(  $name,   $value = '',   $expire = '',   $type = '',   $options = null) 

Parameters

$name
$value
$expire
$type
$options

F()

F(  $name,   $value = '',   $path = DATA_PATH) 

Parameters

$name
$value
$path

get_instance_of()

get_instance_of(  $name,   $method = '',   $args = array()) 

Parameters

$name
$method
$args

to_guid_string()

to_guid_string(  $mix) 

Parameters

$mix

load_ext_file()

load_ext_file()