<?php
class ModelExtensionExtension extends Model {
	function getExtensions($type) {
		$query = $this->db->query("SELECT * FROM ps_extension WHERE `type` = '" . $this->db->escape($type) . "'");

		return $query->rows;
	}
}