summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2007-10-11 02:22:16 +0000
committerChristian Schneider2007-10-11 02:22:16 +0000
commit8b9220916723e3efd1e0cfca2f2e356b142fb8e1 (patch)
tree1ebff2a2b48364518604f74afa164ddb3202723d
parent4a6c6bad9383aad857b491c4d7fb1cc81d247a0f (diff)
downloaditools-8b9220916723e3efd1e0cfca2f2e356b142fb8e1.tar.gz
itools-8b9220916723e3efd1e0cfca2f2e356b142fb8e1.tar.bz2
itools-8b9220916723e3efd1e0cfca2f2e356b142fb8e1.zip
Improve documentation cross reference
-rw-r--r--auto_prepend.php2
-rw-r--r--it_dbi.class10
-rw-r--r--it_html.class4
-rw-r--r--it_user.class2
4 files changed, 10 insertions, 8 deletions
diff --git a/auto_prepend.php b/auto_prepend.php
index b27d6e3..7d13289 100644
--- a/auto_prepend.php
+++ b/auto_prepend.php
@@ -11,7 +11,7 @@ function fail($text)
/**
* Global shortcut for $it_debug::debug()
- * @see it_debug
+ * @see it_debug::debug()
*/
function debug($text, $level=0)
{
diff --git a/it_dbi.class b/it_dbi.class
index 4e855e4..08cbf3c 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -232,7 +232,8 @@ function _set(&$tags)
* @param $link DB link used to escape values
* @param $omit_where Do not add 'WHERE ' to result
* @return The generated SQL clause
- * @see select(), iterate()
+ * @see select()
+ * @see iterate()
*/
function _where($params = "", $link = null, $omit_where = false)
{
@@ -436,7 +437,8 @@ function read($id=null)
* $query can contain 'CALC_FOUND_ROWS', if true member var _found_rows contains number of matching rows without LIMIT
* $query can contain 'NOFETCH', if true the first row is not prefetched (e.g. when directly using _result)
* @return Number of matching rows, use iterate() to fetch the next record
- * @see it_dbi::iterate(), it_dbi::_where()
+ * @see iterate()
+ * @see _where()
*/
function select($query = null)
{
@@ -491,7 +493,7 @@ function select($query = null)
/**
* Puts next result from previous select() in member variables
* @return true if another record was fetched, false if no more records
- * @see it_dbi::select()
+ * @see select()
*/
function iterate()
{
@@ -553,7 +555,7 @@ function insert($tags = array(), $command = "INSERT")
* Replace a record in a table
* @param $tags Additional key => value pairs (these have priority over member vars)
* Does not destroy internal state of last select() call
- * @see it_dbi::insert()
+ * @see insert()
*/
function replace($tags = array())
{
diff --git a/it_html.class b/it_html.class
index a007aad..4c5be62 100644
--- a/it_html.class
+++ b/it_html.class
@@ -240,8 +240,8 @@ function _parse_args($args)
* Attributes with values false or null will be omitted completely.
* Attributes with value true can be used for boolean attributes like 'checked'
* Attribute values will be html encoded, content values won't so you may need to use Q().
- * @see _tag
- */
+ * @see _tag()
+ */ #}
/**
* INTERNAL: Create html tag from name and args array (the arguments of the parent function)
diff --git a/it_user.class b/it_user.class
index b0bb05b..58fccee 100644
--- a/it_user.class
+++ b/it_user.class
@@ -280,7 +280,7 @@ function purge()
}
-/*
+/**
* Create user database record.
* @param $tags Fields to set (uid and username are optional)
* @see it_dbi::insert()