From 8b9220916723e3efd1e0cfca2f2e356b142fb8e1 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 11 Oct 2007 02:22:16 +0000 Subject: Improve documentation cross reference --- auto_prepend.php | 2 +- it_dbi.class | 10 ++++++---- it_html.class | 4 ++-- it_user.class | 2 +- 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() -- cgit v1.2.3