欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Zend studio文件注釋模板設(shè)置方法

 更新時間:2013年09月29日 17:10:13   作者:  
這篇文章主要介紹了Zend studio中新建文件注釋、函數(shù)注釋、代碼塊等模板的實例

步驟:Window -> PHP -> Editor -> Templates,這里可以設(shè)置(增、刪、改、導(dǎo)入等)管理你的模板。
新建文件注釋、函數(shù)注釋、代碼塊等模板的實例

新建模板,分別輸入Name、Description、Pattern

a)文件注釋

Name: 3cfile
Description: tkyouxi.com文件注釋模板

Pattern:
/**
* tkyouxi.com xx文件
* ==============================================
* 版權(quán)所有 2010-2011 http://www.tkyouxi.com.com
* ----------------------------------------------
* 這不是一個自由軟件,未經(jīng)授權(quán)不許任何使用和傳播。
* ==============================================
* @date: ${date}
* @author: ${user}
* @version:
*/

b)方法注釋

Name: 3cmethod
Description: tkyouxi.com方法注釋模板
Pattern:
/**
* 函數(shù)用途描述
* @date: ${date}
* @author: ${user}
* @return:
*/

c)if格式

Name: 3cif
Description: tkyouxi.com if格式模板
Pattern:
if (${condition}) {
${cursor};
}

進(jìn)入PHP文件中,輸入3cfile、3cmethod或3cif等,回車就可以調(diào)出模板內(nèi)容,以便開發(fā)中編碼的規(guī)范。

相關(guān)文章

最新評論