<?php
-// $Id: decorator.inc.php,v 1.3 2005/05/04 10:07:21 jollytoad Exp $
+// $Id: decorator.inc.php,v 1.4 2005/09/03 04:59:59 chriskl Exp $
// This group of functions and classes provides support for
// resolving values in a lazy manner (ie, as and when required)
foreach($this->c as $var) {
$accum .= value($var, $fields);
}
- return $accum;
+ return trim($accum);
}
}
/**
* Manage operators in a database
*
- * $Id: operators.php,v 1.18 2005/05/02 15:47:24 chriskl Exp $
+ * $Id: operators.php,v 1.19 2005/09/03 04:59:59 chriskl Exp $
*/
// Include application functions
// Operator prototype: "type operator type"
$proto = concat(field('oprleftname'), ' ', field('oprname'), ' ', field('oprrightname'));
- // Alternative prototype: "operator (type,type)"
- #$proto = concat(field('oprname'), ' (', field('oprleftname','NONE'), ',', field('oprrightname','NONE'), ')');
-
$reqvars = $misc->getRequestVars('operator');
$attrs = array(