Exemple #1
0
 function __construct($item_count, $table_name, $select_fields = array(), $where_keys_vals = array())
 {
     parent::__construct($table_name, $select_fields = array(), $where_keys_vals = array());
     // calling the super class constructor
     $this->item_count = $item_count;
     $this->iter_counter = 0;
 }
Exemple #2
0
	function add_entity_grouping_featured_type_list()
	{
		$gdbs = new GenericDBDS("entity_grouping_types");
		//$gdbs->where_clause = "where eg_type = ".AppSettings::gv("eg_type__featured");
		$xmlstring = $gdbs->get_xml_dataset("entity_grouping_types");
		$this->append_child_from_xml($xmlstring);
	}