diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-08-23 20:59:39 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-08-23 20:59:39 +0000 |
commit | 29c549ca7a6d2a30e1284bbf7b031301f44b356e (patch) | |
tree | be28092ea2364b82cb0ba4272f5ab7c868e1d402 /databases/pear-DB_DataObject | |
parent | e5f8c5eea9fb633948a5abf3ef7fe2df1f25f664 (diff) | |
download | ports-29c549ca7a6d2a30e1284bbf7b031301f44b356e.tar.gz ports-29c549ca7a6d2a30e1284bbf7b031301f44b356e.zip |
Add pear-DB_DataObject 1.7.1, an SQL Builder, Object Interface to
Database Tables.
PR: 70882
Submitted by: Antonio Carlos Venancio Junior
Notes
Notes:
svn path=/head/; revision=117162
Diffstat (limited to 'databases/pear-DB_DataObject')
-rw-r--r-- | databases/pear-DB_DataObject/Makefile | 27 | ||||
-rw-r--r-- | databases/pear-DB_DataObject/distinfo | 2 | ||||
-rw-r--r-- | databases/pear-DB_DataObject/pkg-descr | 9 |
3 files changed, 38 insertions, 0 deletions
diff --git a/databases/pear-DB_DataObject/Makefile b/databases/pear-DB_DataObject/Makefile new file mode 100644 index 000000000000..f80a652766c2 --- /dev/null +++ b/databases/pear-DB_DataObject/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: pear-DB_DataObject +# Date created: 23 August 2004 +# Whom: Antonio Carlos Venancio Junior (<antonio@php.net>) +# +# $FreeBSD$ +# + +PORTNAME= DB_DataObject +PORTVERSION= 1.7.1 +CATEGORIES= databases www pear + +MAINTAINER= antonio@php.net +COMMENT= An SQL Builder, Object Interface to Database Tables + +BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \ + ${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date +RUN_DEPENDS= ${BUILD_DEPENDS} + +CATEGORY= DB +FILES= DataObject.php DataObject/Cast.php DataObject/Error.php \ + DataObject/Generator.php DataObject/createTables.php + +DOCS= example.ini + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" +.include <bsd.port.post.mk> diff --git a/databases/pear-DB_DataObject/distinfo b/databases/pear-DB_DataObject/distinfo new file mode 100644 index 000000000000..f5c920632fc6 --- /dev/null +++ b/databases/pear-DB_DataObject/distinfo @@ -0,0 +1,2 @@ +MD5 (PEAR/DB_DataObject-1.7.1.tgz) = 555cc6425c85952221e0237963d3296f +SIZE (PEAR/DB_DataObject-1.7.1.tgz) = 44629 diff --git a/databases/pear-DB_DataObject/pkg-descr b/databases/pear-DB_DataObject/pkg-descr new file mode 100644 index 000000000000..bc4da30923ea --- /dev/null +++ b/databases/pear-DB_DataObject/pkg-descr @@ -0,0 +1,9 @@ +PEAR::DB_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. + +WWW: http://pear.php.net/package/DB_DataObject |