update documentation

This commit is contained in:
Cornelius Weiß 2005-06-11 10:09:34 +00:00
parent ba459fdfcd
commit ea424535df
2 changed files with 2 additions and 5 deletions

View File

@ -501,10 +501,7 @@ implement only a subset of XUL. Here are the main differences:</p>
<b>onclick</b>: specify some java-script to be called if the button gets pressed/clicked: <br />
a) general javascript: "window.close();"<br />
b) confirmation: "return window.confirm('<message>');" (message get run through lang()!)<br />
c) popups: "window.open(egw::link('/index.php','menuaction=app.class.func&id=$cont[id]'),'_blank',
'dependent=yes,width=600,height=450,scrollbars=yes,status=yes'); return false;"
(egw::link('<url>','<vars>') calls $GLOBALS['phpgw']->link() to allow eGW installtion relative links
and to pass the session-id.
c) popup: app.class.func&id=$cont[id],target(default _blank),width (default 600),height (default 450)
You can use $cont[<name>] or $row_cont[<name>] (note no quotes!) to pass further information to the popup
via the content array.)
</td>

View File

@ -411,7 +411,7 @@ class so_sql
* '*' and '?' are replaced with sql-wildcards '%' and '_'
*
* @param array/string $criteria array of key and data cols, OR a SQL query (content for WHERE), fully quoted (!)
* @param boolean $only_keys=true True returns only keys, False returns all cols
* @param boolean/string/array $only_keys=true True returns only keys, False returns all cols. comma seperated list of keys or array to return certain values
* @param string $order_by='' fieldnames + {ASC|DESC} separated by colons ',', can also contain a GROUP BY (if it contains ORDER BY)
* @param string/array $extra_cols='' string or array of strings to be added to the SELECT, eg. "count(*) as num"
* @param string $wildcard='' appended befor and after each criteria