* @copyright Copyright © 2006 Peter Adams * @license http://www.gnu.org/copyleft/gpl.html GPL v2.0 * @category owa * @package owa * @version $Revision$ * @since owa 1.4.0 */ class owa_goalValueAll extends owa_metric { function __construct() { $this->setName('goalValueAll'); $this->setLabel('All Goals Value'); $this->setEntity('base.session'); $this->setColumn('goals_value'); $this->setSelect(sprintf("SUM(%s)", $this->getColumn())); $this->setDataType('currency'); return parent::__construct(); } } ?>