Location: PHPKode > projects > astwebpanel > web/dao/SipDtmfModesDao.php
<?php
/**
 * Copyright (C) 2004 - 2006, John Tarlton.
 *
 * This file is part of AstWebPanel - A web management user interface for Asterisk.
 *
 * AstWebPanel is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation. See the LICENSE file distributed
 * with AstWebPanel.
 *
 * Database access object.
 */

require_once('./php/dbase.php');

/* Database access object for the dtmfmodes 
*/
class SipDtmfModesDao
{
	function get(&$values)
	{
	   	global $db;
        $result = $db->query("SELECT * FROM dtmfmodes");
		while ($row = $result->fetchRow()) 
		{ 
			$values[$row['id']] = $row['description'];
		}
		$result->free();
	}
}

?>

Return current item: astwebpanel