From a02f7415a40081f5ba607ab09686880a60e7d766 Mon Sep 17 00:00:00 2001 From: jasper Date: Thu, 19 Mar 2009 20:15:34 +0000 Subject: [PATCH] import pear-DB_DataObject 1.8.10 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. --- databases/pear-DB_DataObject/Makefile | 20 ++++++++++++++++++++ databases/pear-DB_DataObject/distinfo | 5 +++++ databases/pear-DB_DataObject/pkg/DESCR | 9 +++++++++ databases/pear-DB_DataObject/pkg/PLIST | 16 ++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 databases/pear-DB_DataObject/Makefile create mode 100644 databases/pear-DB_DataObject/distinfo create mode 100644 databases/pear-DB_DataObject/pkg/DESCR create mode 100644 databases/pear-DB_DataObject/pkg/PLIST diff --git a/databases/pear-DB_DataObject/Makefile b/databases/pear-DB_DataObject/Makefile new file mode 100644 index 00000000000..da71f359f1b --- /dev/null +++ b/databases/pear-DB_DataObject/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/03/19 20:15:34 jasper Exp $ + +COMMENT= SQL builder, object interface to database tables + +DISTNAME= DB_DataObject-1.8.10 +PKGNAME= pear-${DISTNAME} +CATEGORIES= databases pear + +MODULES= www/pear + +# PHP License +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://pear.php.net/get/ +EXTRACT_SUFX= .tgz + +.include diff --git a/databases/pear-DB_DataObject/distinfo b/databases/pear-DB_DataObject/distinfo new file mode 100644 index 00000000000..47f14a55278 --- /dev/null +++ b/databases/pear-DB_DataObject/distinfo @@ -0,0 +1,5 @@ +MD5 (DB_DataObject-1.8.10.tgz) = KgwUE05bdX/PF12H0Y/6gw== +RMD160 (DB_DataObject-1.8.10.tgz) = dvj2miLOTYkGQUHbpsk1q4jxfU0= +SHA1 (DB_DataObject-1.8.10.tgz) = 2RDlI7V7oHGlghOjkGiUq4drdhs= +SHA256 (DB_DataObject-1.8.10.tgz) = XoY4kNMqNF+RkpZzBUNyoMDfErHV+qJq7M0rpHwHz7I= +SIZE (DB_DataObject-1.8.10.tgz) = 65565 diff --git a/databases/pear-DB_DataObject/pkg/DESCR b/databases/pear-DB_DataObject/pkg/DESCR new file mode 100644 index 00000000000..3b4c661c03f --- /dev/null +++ b/databases/pear-DB_DataObject/pkg/DESCR @@ -0,0 +1,9 @@ +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. diff --git a/databases/pear-DB_DataObject/pkg/PLIST b/databases/pear-DB_DataObject/pkg/PLIST new file mode 100644 index 00000000000..f177507310c --- /dev/null +++ b/databases/pear-DB_DataObject/pkg/PLIST @@ -0,0 +1,16 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/03/19 20:15:34 jasper Exp $ +@group daemon +lib/ +lib/php/ +pear/doc/ +pear/doc/DB_DataObject/ +pear/doc/DB_DataObject/docs/ +pear/doc/DB_DataObject/docs/example.ini +pear/lib/.registry/db_dataobject.reg +pear/lib/DB/ +pear/lib/DB/DataObject/ +pear/lib/DB/DataObject.php +pear/lib/DB/DataObject/Cast.php +pear/lib/DB/DataObject/Error.php +pear/lib/DB/DataObject/Generator.php +pear/lib/DB/DataObject/createTables.php