cvs: pearweb /include pear-database.php
| From: | Stig Bakken | Date: | Tue, 02 Apr 2002 12:26:06 +0000 |
| Subject: | cvs: pearweb /include pear-database.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2988@lists.php.net to get a copy of this message | ||
ssb Tue Apr 2 07:26:06 2002 EDT
Modified files:
/pearweb/include pear-database.php
Log:
* align method names in protos
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.65 pearweb/include/pear-database.php:1.66
--- pearweb/include/pear-database.php:1.65 Tue Apr 2 07:24:09 2002
+++ pearweb/include/pear-database.php Tue Apr 2 07:26:06 2002
@@ -17,7 +17,7 @@
| Tomas V.V.Cox <cox@php.net> |
| Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.65 2002/04/02 12:24:09 ssb Exp $
+ $Id: pear-database.php,v 1.66 2002/04/02 12:26:06 ssb Exp $
*/
require_once "DB/storage.php";
@@ -125,7 +125,7 @@
class category
{
- // {{{ *proto int category::add(struct)
+ // {{{ *proto int category::add(struct)
/*
$data = array(
@@ -163,7 +163,7 @@
}
// }}}
- // {{{ proto array category::listAll()
+ // {{{ proto array category::listAll()
function listAll()
{
@@ -177,7 +177,7 @@
class package
{
- // {{{ *proto int package::add(struct)
+ // {{{ *proto int package::add(struct)
// add a package, return new package id or PEAR error
function add($data)
@@ -405,7 +405,7 @@
class maintainer
{
- // {{{ +proto int maintainer::add(int, string, string)
+ // {{{ +proto int maintainer::add(int, string, string)
function add($package, $user, $role)
{
@@ -423,7 +423,7 @@
}
// }}}
- // {{{ proto int maintainer::get(int, bool)
+ // {{{ proto int maintainer::get(int, bool)
function get($package, $lead = false)
{
@@ -452,7 +452,7 @@
class release
{
- // {{{ proto array release::getRecent([int])
+ // {{{ proto array release::getRecent([int])
function getRecent($n = 5)
{
@@ -552,7 +552,7 @@
}
// }}}
- // {{{ +proto bool release::confirmUpload(string)
+ // {{{ +proto bool release::confirmUpload(string)
function confirmUpload($upload_ref)
{
@@ -590,7 +590,7 @@
}
// }}}
- // {{{ +proto bool release::dismissUpload(string)
+ // {{{ +proto bool release::dismissUpload(string)
function dismissUpload($upload_ref)
{
@@ -598,9 +598,9 @@
}
// }}}
- // {{{ void release::HTTPdownload(string, [string], [string])
+ // {{{ NOEXPORT release::HTTPdownload(string, [string], [string])
-// not for xmlrpc export
+ // not for xmlrpc export
function HTTPdownload($package, $version = null, $file = null)
{
global $dbh;
@@ -685,7 +685,7 @@
}
// }}}
- // {{{ proto bool release::isValidState(string)
+ // {{{ proto bool release::isValidState(string)
function isValidState($state)
{
@@ -694,7 +694,7 @@
}
// }}}
- // {{{ NOEXPORT release::logDownload(integer, string, string)
+ // {{{ NOEXPORT release::logDownload(integer, string, string)
function logDownload($package, $release_id, $file = null)
{
@@ -774,7 +774,7 @@
}
// }}}
- // {{{ NOEXPORT release::remove(int, int)
+ // {{{ NOEXPORT release::remove(int, int)
function remove($package, $release)
{
@@ -821,7 +821,7 @@
class note
{
- // {{{ +proto bool note::add(string, int, string)
+ // {{{ +proto bool note::add(string, int, string)
function add($key, $value, $note)
{
@@ -839,7 +839,7 @@
}
// }}}
- // {{{ +proto bool note::remove(int)
+ // {{{ +proto bool note::remove(int)
function remove($id)
{
@@ -853,7 +853,7 @@
}
// }}}
- // {{{ +proto bool note::removeAll(string, int)
+ // {{{ +proto bool note::removeAll(string, int)
function removeAll($key, $value)
{
@@ -870,7 +870,7 @@
class user
{
- // {{{ *proto bool user::remove(string)
+ // {{{ *proto bool user::remove(string)
function remove($uid)
{
@@ -881,7 +881,7 @@
}
// }}}
- // {{{ *proto bool user::rejectRequest(string, string)
+ // {{{ *proto bool user::rejectRequest(string, string)
function rejectRequest($uid, $reason)
{
@@ -897,7 +897,7 @@
}
// }}}
- // {{{ *proto bool user::activate(string)
+ // {{{ *proto bool user::activate(string)
function activate($uid)
{
@@ -926,7 +926,7 @@
}
// }}}
- // {{{ +proto bool user::isAdmin(string)
+ // {{{ +proto bool user::isAdmin(string)
function isAdmin($handle)
{