0
I Use This!
Activity Not Available

Project Summary

php DAO

使用了 pear DB_Table mdb2。

每个数据库表一个dao对象、一个DB_Table对象。

Db_PrintSql.class.php 是用来调试sql的。用到了symfony的sfcontenx。可以根据具体需求修改。

PageTurn.class.php 中也调用了symfony的getURI 可以根据具体情况修改。

note:Not ORM,it's just do with the data not the DB

demo:
分页列表

$dao=new Dao_User_Read();
$dao->addWhere('id', 5000, "<");
$dao->addWhere('sex','m');
$dao->addWhere("birthday='2008-08-08'");
list($this->list,$this->pageInfo)=$dao->getListPage();

模板中:

   foreach($list as $value){

echo $value['id'].'----'.$value['name'];
}
echo $pageInfo;

Tags

dao pear php

In a Nutshell, peardao...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Apache License 2.0
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Private Use

Use Patent Claims

Sub-License

Forbidden

Use Trademarks

Hold Liable

Required

Include Copyright

Include License

State Changes

Include Notice

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    compare projects before you chose one to use
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    you can embed statistics from Open Hub on your site

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis