db_dataobject.reg
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· REG 代码 · 共 509 行 · 第 1/3 页
REG
509 行
a:14:{s:8:"provides";a:15:{s:28:"class;DB_DataObject_Overload";a:3:{s:4:"type";s:5:"class";s:4:"name";s:22:"DB_DataObject_Overload";s:8:"explicit";b:1;}s:19:"class;DB_DataObject";a:4:{s:4:"type";s:5:"class";s:4:"name";s:13:"DB_DataObject";s:7:"extends";s:22:"DB_DataObject_Overload";s:8:"explicit";b:1;}s:27:"function;DB_DataObject::get";a:3:{s:4:"type";s:8:"function";s:4:"name";s:18:"DB_DataObject::get";s:8:"explicit";b:1;}s:24:"class;DB_DataObject_Cast";a:3:{s:4:"type";s:5:"class";s:4:"name";s:18:"DB_DataObject_Cast";s:8:"explicit";b:1;}s:33:"function;DB_DataObject_Cast::blob";a:3:{s:4:"type";s:8:"function";s:4:"name";s:24:"DB_DataObject_Cast::blob";s:8:"explicit";b:1;}s:35:"function;DB_DataObject_Cast::string";a:3:{s:4:"type";s:8:"function";s:4:"name";s:26:"DB_DataObject_Cast::string";s:8:"explicit";b:1;}s:32:"function;DB_DataObject_Cast::sql";a:3:{s:4:"type";s:8:"function";s:4:"name";s:23:"DB_DataObject_Cast::sql";s:8:"explicit";b:1;}s:33:"function;DB_DataObject_Cast::date";a:3:{s:4:"type";s:8:"function";s:4:"name";s:24:"DB_DataObject_Cast::date";s:8:"explicit";b:1;}s:37:"function;DB_DataObject_Cast::dateTime";a:3:{s:4:"type";s:8:"function";s:4:"name";s:28:"DB_DataObject_Cast::dateTime";s:8:"explicit";b:1;}s:33:"function;DB_DataObject_Cast::time";a:3:{s:4:"type";s:8:"function";s:4:"name";s:24:"DB_DataObject_Cast::time";s:8:"explicit";b:1;}s:37:"function;DB_DataObject_Cast::toString";a:3:{s:4:"type";s:8:"function";s:4:"name";s:28:"DB_DataObject_Cast::toString";s:8:"explicit";b:1;}s:45:"function;DB_DataObject_Cast::toStringFromBlob";a:3:{s:4:"type";s:8:"function";s:4:"name";s:36:"DB_DataObject_Cast::toStringFromBlob";s:8:"explicit";b:1;}s:29:"class;DB_DataObject_Generator";a:4:{s:4:"type";s:5:"class";s:4:"name";s:23:"DB_DataObject_Generator";s:7:"extends";s:13:"DB_DataObject";s:8:"explicit";b:1;}s:39:"function;DB_DataObject_Generator::start";a:3:{s:4:"type";s:8:"function";s:4:"name";s:30:"DB_DataObject_Generator::start";s:8:"explicit";b:1;}s:25:"class;DB_DataObject_Error";a:4:{s:4:"type";s:5:"class";s:4:"name";s:19:"DB_DataObject_Error";s:7:"extends";s:10:"PEAR_Error";s:8:"explicit";b:1;}}s:8:"filelist";a:8:{s:14:"DataObject.php";a:5:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:2:"DB";s:6:"md5sum";s:32:"c032e126afea440edc3d46af1a78abb5";s:12:"replacements";a:1:{i:0;a:3:{s:4:"from";s:9:"@version@";s:2:"to";s:7:"version";s:4:"type";s:12:"package-info";}}s:12:"installed_as";s:36:"/opt/lampp/lib/php/DB/DataObject.php";}s:19:"DataObject/Cast.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:2:"DB";s:6:"md5sum";s:32:"e0b76d26843a4c29854b12e191ecffea";s:12:"installed_as";s:41:"/opt/lampp/lib/php/DB/DataObject/Cast.php";}s:24:"DataObject/Generator.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:2:"DB";s:6:"md5sum";s:32:"85916696388f96765795c58b414c5aae";s:12:"installed_as";s:46:"/opt/lampp/lib/php/DB/DataObject/Generator.php";}s:27:"DataObject/createTables.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:2:"DB";s:6:"md5sum";s:32:"38e1ad7a7d0df05dadc1d56a613b83b2";s:12:"installed_as";s:49:"/opt/lampp/lib/php/DB/DataObject/createTables.php";}s:20:"DataObject/Error.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:2:"DB";s:6:"md5sum";s:32:"c2cf7df5af0f1954ccb8b759204fd0e1";s:12:"installed_as";s:42:"/opt/lampp/lib/php/DB/DataObject/Error.php";}s:16:"docs/example.ini";a:4:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:2:"DB";s:6:"md5sum";s:32:"be0a72118ae66741e27cbadafbc57008";s:12:"installed_as";s:53:"/opt/lampp/lib/php/doc/DB_DataObject/docs/example.ini";}s:38:"scripts/DB_DataObject_createTables.bat";a:4:{s:4:"role";s:6:"script";s:14:"baseinstalldir";s:2:"DB";s:6:"md5sum";s:32:"ef88826fadc5e821f0973e30a82ea877";s:12:"installed_as";s:56:"/opt/lampp/bin/DB/scripts/DB_DataObject_createTables.bat";}s:7:"dirtree";a:5:{s:21:"/opt/lampp/lib/php/DB";b:1;s:32:"/opt/lampp/lib/php/DB/DataObject";b:1;s:41:"/opt/lampp/lib/php/doc/DB_DataObject/docs";b:1;s:25:"/opt/lampp/bin/DB/scripts";b:1;s:17:"/opt/lampp/bin/DB";b:1;}}s:7:"package";s:13:"DB_DataObject";s:7:"summary";s:51:"An SQL Builder, Object Interface to Database Tables";s:11:"description";s:356:"DataObject performs 2 tasks: 1. Builds SQL statements based on the objects vars and the builder methods. 2. acts as a datastore for a table row. The core class is designed to be extended for each of your tables so that you put the data logic inside the data classes. included is a Generator to make your configuration files and your base classes.";s:11:"maintainers";a:1:{i:0;a:4:{s:6:"handle";s:6:"alan_k";s:4:"name";s:12:"Alan Knowles";s:5:"email";s:17:"alan@akbkhome.com";s:4:"role";s:4:"lead";}}s:7:"version";s:6:"1.7.15";s:12:"release_date";s:10:"2005-07-07";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:86:"Minor Bugfix release * fix bug #4760 - DB_DataObject_Cast blobs broke in last release";s:12:"release_deps";a:4:{i:1;a:3:{s:4:"type";s:3:"php";s:3:"rel";s:2:"ge";s:7:"version";s:3:"4.3";}i:2;a:4:{s:4:"type";s:3:"pkg";s:3:"rel";s:2:"ge";s:7:"version";s:5:"1.7.0";s:4:"name";s:2:"DB";}i:3;a:5:{s:4:"type";s:3:"pkg";s:3:"rel";s:2:"ge";s:7:"version";s:5:"0.1.1";s:8:"optional";s:3:"yes";s:4:"name";s:8:"Validate";}i:4;a:4:{s:4:"type";s:3:"pkg";s:3:"rel";s:2:"ge";s:7:"version";s:5:"1.4.3";s:4:"name";s:4:"Date";}}s:9:"changelog";a:44:{i:0;a:4:{s:7:"version";s:6:"1.7.14";s:12:"release_date";s:10:"2004-06-25";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:2034:"Bugfix release (Mostly)Special thanks to Dan Rossi for the MDB Backend work on this release.Key changes: - SQLlite support for files. - MDB Backend support (experimental) use: db_driver = MDB as a config option. NOTE: the generator will probably not work. - toArray() has an extra argument (bool)hideEmpty, which prevents it returning key/value pair when the value is empty - DB_DataObject_Cast object was redesigned to enable better quoting of blobs - PostgresSQL schema for tablenames can be removed with the generator_strip_schema = 1 - Fetch return value and object->N are now "true", rather than 1 when numRows is not supported, (also document it on find()) Bugs Fixed. * fix bug #4672 - query(COMMIT) relays return value from DB->commit() * fix bug #4535 - fix update/select etc. for postgres with boolean values. * fix bug #4601 - wrong method used to test if file for sqlite * fix bug #4193 - sqlite names causing invalid .ini files * fix bug #4518 - escape and transactions fixed for MDB backend * fix bug #4431 - add hideEmpty to toArray() - not sure if I really like this.. - adding args to methods, the root of all evil ;) * fix bug #4383 - generator getListOf() call now expects pear errors * fix bug #4235 #4203 - schema mess with postgres. generator_strip_schema=1 will strip the schema part from the name of the table. * fix bug #4168 - if connection test is sucessfull, dont try and connect.. (performance improvement) * fix bug #4040 - prevent toArray from calling getLink and getLinks * fix bug #4019 - createTables uses sets up options for DB compatibility mode * fix bug #4000 - better checking for php 4.3.10 * fix bug #3944 - support for informix autoincrements * fix bug #4182 - better string and blob support on mysql in cast * fix bug #4135 - boolean values borked in condition building.. ";}i:1;a:4:{s:7:"version";s:6:"1.7.13";s:12:"release_date";s:10:"2004-03-24";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:92:"Minor Bugfix release#3943 - postgres booleans broke again due to last fix for mysqli. ";}i:2;a:4:{s:7:"version";s:6:"1.7.12";s:12:"release_date";s:10:"2004-03-23";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:156:"Daily Bugfix release. ;)#3898 - mysqli quote bug fixed. (Greg Beaver)#------ provisional support for mysql blobs in Cast object (Antony Jankelowitz) ";}i:3;a:4:{s:7:"version";s:6:"1.7.11";s:12:"release_date";s:10:"2004-03-22";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:191:"Minor Bugfix release. #3898 - fix count , which got broken by previous distinct argument changes#------ support $x IS NOT NULL using $obj->value = DB_DataObject_Cast::sql("NOT NULL"); ";}i:4;a:4:{s:7:"version";s:6:"1.7.10";s:12:"release_date";s:10:"2004-03-16";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:83:"Minor Bugfix release. #3829 - joinAdd fix for database prefixing (yet again) ";}i:5;a:4:{s:7:"version";s:5:"1.7.9";s:12:"release_date";s:10:"2004-03-12";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:121:"Minor Bugfix release. #3764 - toValue(), and hence toArray() cast booleans to true|false. (previous fix was buggy) ";}i:6;a:4:{s:7:"version";s:5:"1.7.8";s:12:"release_date";s:10:"2004-03-12";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:445:"Minor Bugfix release. #3764 - toValue(), and hence toArray() cast booleans to true|false.#3763 - createTables.php defines NO_OVERLOAD to prevent warnings on PHP4.3.10.#3768 - Hopefully last fix to joinAdd() / database prefixing and quoteIdentifiers#3761 - Fixed DB_DataObject::datetime() bad code.#3783 - count('distinct') builds the query distinct [primary_key], should help in some situations using joinAdd + group By etc. ";}i:7;a:4:{s:7:"version";s:5:"1.7.7";s:12:"release_date";s:10:"2004-03-07";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:287:"Minor bug fix release - join add with table fixes broke for mysql with last release Bug Fixes: #---- - Joins incorrectly prefect database name for mysql/mysqli (Thanks to Mark Mitchenall for spotting this) #---- used wrong variable for checking prefixes. (Stephane Gully) ";}i:8;a:4:{s:7:"version";s:5:"1.7.6";s:12:"release_date";s:10:"2004-03-05";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:355:"Nothing like a big release to create bugs..Note: the last release also included method creation for setters and getters, which got missed out from the changelog.Bug Fixes: #3708 - Generator did not clear last files contents when generating new files. #3706 - Joins broke on everything except mysql (database prefix now only added to mysql) ";}i:9;a:4:{s:7:"version";s:5:"1.7.5";s:12:"release_date";s:10:"2004-03-02";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:1420:"A few releases where skipped, this should be the amalgamated upgrade!Note: php4.3.10 will exit with an error if you dont define NO_OVERLOAD, rather than segfaulting..Generator is buggy with 5.0.3 - upgrade DB or PHP..Bug Fixes: #3584 - Cast now supports time and datetime, (theiron) #3645 - PHP4 clone FC hack now calls $obj->__clone() in a similar way to PHP5 #2928 - lastError contains the last error when query bugs out now. #2674 - column names null / true /false etc. now halt createtables #2778 - more informative warning shown when postgres bug is found. #---- - experimental multidatabase join support #2739 - sleep is relayed into __call - bug in PHP5 #2565 - oci8 NUMBER type recoginzed #---- - new option generate_add_validate_stubs = 1, creates validate stubs. #---- - more comprehensive limit support (Lutz Thomas) #---- - allow access to columns starting with _ eg. set_xxx() & get_xxx() (Sandro) #---- - Generator write E_STRICT code for PHP5 now #2441 - Debugging code removed. #---- - multiple HAVING calls now supported. #2468 - remove warning hider. #2318 - update($do) when no changes detected returns true. #2319 - joinAdd does not use AS when table and target have same name. #---- - Dia diagram generation tools available in CVS (build diagrams from dataobjects) #2267 - additional debugging information available at connect time ";}i:10;a:4:{s:7:"version";s:5:"1.7.2";s:12:"release_date";s:10:"2004-08-28";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:566:"Minor bug fix / Minor feature addition release Bug Fixes: #1835 - more fixes to ensure that joinAdd works correctly. #2106 - Update with old object having no changes does not raise an error #---- - fixed problem of call() code producing parse error on PHP5.0.1 #2205 - fixed case sensitivity of PHP5 call() #---- - fixed undefined index in delete after a fetch() Features Added: #2086 - Support for buliding dataobjects for Views (use option build_view=1) #2240 - factory() called on a dataobject returns a new instance of that object. ";}i:11;a:4:{s:7:"version";s:5:"1.7.1";s:12:"release_date";s:10:"2004-08-09";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:225:"Minor bug fix release Bug Fixes: #2088 - class_prefix may be left out. #------ php4.2 compatibility should work as advertised in last realease #------ Generator didnt have DB loaded due to lazy load changes. ";}i:12;a:4:{s:7:"version";s:5:"1.7.0";s:12:"release_date";s:10:"2004-06-03";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:1624:"Major bug fix release, Minor features added. Bug Fixes: #1559 - __FUNCTION__ remove, so dependancy on php 4.2 may still be valid. #1595 - regex include/exclude working correctly (Thanks to Stephane Gully) #1664 - configuration line links_{databasename} now available #1726 - enable orderby and limit can be used with delete() #1697 - prevent generator from adding an extra line created after definition. #1704 - update only adds null when the column is not marked 'not null' #1778 - toArray() returns a merge of defined table and actual results #1828 - Generator will die, if tableinfo is not supported. #1833 - links() now returns an empty array (no links) or null (no links.ini) so it can be used generically with : $ar = (array) $do->links(); #1835 - getLinks, getLink etc. now use ->links(), so you can define your own links() to return table links, rather than use links.ini files. #1923 - removed all @ silencers, and replace with empty/isset. #1935 - selectAs() - removed double quoteIdentifiers #2068 - workaround for DB bug, postgres nextval() being rawurlencoded #1980 - logic error when using quoteIdentifiers Changes: * DebugLevel(1) now displays native errors from database when queries fail. * Result Field names now stored seperately from Result Object * free() method added, to clean up memory instantly, if you are doing alot of queries. = Cleans Result Fields, Result Object, NumRows returned in Connection object. * include path is used to do file hunting if factory fails to find file.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?