我的代码生成器生成的样本代码(PHP)
2008-09-04 11:47
323 查看
Code
<?php
class AppVariable
{
public static function getDataBaseConnectionString()
{
return "xxxx";//add connection string here
}
public static function getODBC()
{
return "odbc:Test";//add odbc connection here
}
public static function getDataBaseName()
{
return "Test";//add database name here
}
public static function getDataBaseUserID()
{
return "Joey";//add user name here
}
public static function getDataBasePassword()
{
return "1234";//add password here
}
}
?>
<?php
class AppVariable
{
public static function getDataBaseConnectionString()
{
return "xxxx";//add connection string here
}
public static function getODBC()
{
return "odbc:Test";//add odbc connection here
}
public static function getDataBaseName()
{
return "Test";//add database name here
}
public static function getDataBaseUserID()
{
return "Joey";//add user name here
}
public static function getDataBasePassword()
{
return "1234";//add password here
}
}
?>
相关文章推荐
- 我的代码生成器生成的样本代码(VB.NET)
- 我的代码生成器生成的样本代码(JAVA)
- 我的代码生成器生成的样本代码(t-sql)
- 我的代码生成器生成的样本代码(C#)
- PHP生成静态HTML页面实例代码
- PHP生成桌快捷方式代码 实现一键登录
- PHP 原生代码生成 RSS 文档
- 最新最全PHP生成制作验证码代码详解(推荐)
- 最新最全PHP生成制作验证码代码详解(推荐)
- 代码收藏系列--php--生成简短唯一订单号(转载)
- 利用PHP与Smarty模板技术生成分页静态页面的代码
- PHP生成缩略图的代码
- atitit..代码生成流程图 流程图绘制解决方案 java c#.net php v2
- PHP静态新闻列表自动生成代码
- php生成txt.word.xls直接下载代码
- php动态生成JavaScript代码
- PHP n个不重复的随机数生成代码
- 【PHP代码】生成百度短链接
- 兼容性最强的PHP生成缩略图的函数代码(修改版)