您的位置:首页 > 编程语言 > PHP开发

zend studio快捷模板 开发工具之zend studio一些配置

2014-03-22 18:51 344 查看
以下是以Zend Studio 10.0.0版本为基础的:

模板的配置(template):

【菜单】->【Window】->【preferences】->【PHP】->【Editor】->【Templates】->新建模板就可以了,

或者直接在Preferences上面的搜索框中输入template就可以找到了。

epe : echo '<pre>',print_r(${cursor},1);exit;

eppe : echo '<pre>',print_r(${cursor},1);echo '<pre>',print_r( ,1);exit;

vd : var_dump(${cursor});

vde : var_dump(${cursor});exit;

trc :

try {
${cursor}
} catch (Exception $$e) {
Kohana::log('error', __CLASS__.'->'.__METHOD__.' Line:'.__LINE__.' 操作失败:'.$$this->last_query()." \r\n".$$e->getMessage());
return false;
}

lgd : Kohana::log('debug', __CLASS__.'->'.__METHOD__.' Line:'.__LINE__.' '.var_export( ${cursor} ,true));

lge : Kohana::log('error', __CLASS__.'->'.__METHOD__.' Line:'.__LINE__.' '.var_export( ${cursor} ,true));

lgs : Kohana::log('error', __CLASS__.'->'.__METHOD__.' Line:'.__LINE__.' params: '.${cursor}.' '." ".' '." " );

###############------####

echo __FILE__.' Line:'.__LINE__.'<pre>',print_r(${cursor},1);

echo __FILE__.' Line:'.__LINE__.'<pre>',print_r(${cursor},1);exit;

var_dump(${cursor});

var_dump(${cursor});exit;

log::write('File:'.__FILE__.' LINE:'.__LINE__."\r\n".' '.var_export(${cursor},true));

log::write('==API请求参数== '.var_export($$logMessage,true));
log::write('$$API返回结果$$ '.var_export($$this->httpResponse,true));

$$this->translator->${cursor};

$$etime = microtime(true);//获取程序执行结束的时间
$$totalTime = $$etime-$$stime; //计算差值
log::write('File:'.__FILE__.' LINE:'.__LINE__."\r\n".'程序执行时间: '.var_export($$totalTime,true));

$$stime = microtime(true); //获取程序开始执行的时间

js,css,html快捷插件:aptana的安装配置

http://www.zendstudio.net/archives/zend-studio-7-1-and-aptana-are-good-brothers/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐