require_once 'MECON/HTML/Arbol.php';
require_once 'DB.php';
+/**
+ * DESC
+ *
+ * @access public
+ */
class MECON_HTML_ArbolDB extends MECON_HTML_Arbol
{
+
+ /**
+ * DESC
+ *
+ * @var string $padre
+ * @access public
+ */
var $padre = '';
+
+ /**
+ * DESC
+ *
+ * @var TIPO $tabla
+ * @access public
+ */
var $tabla;
+
+ /**
+ * DESC
+ *
+ * @var string $nombre
+ * @access public
+ */
var $nombre;
+
+ /**
+ * DESC
+ *
+ * @var TIPO $id
+ * @access public
+ */
var $id;
+
+ /**
+ * DESC
+ *
+ * @var TIPO $id_activo
+ * @access public
+ */
var $id_activo;
+
+ /**
+ * DESC
+ *
+ * @var string $link
+ * @access public
+ */
var $link = '';
+
+ /**
+ * DESC
+ *
+ * @var string $link_append
+ * @access public
+ */
var $link_append = '';
+
+ /**
+ * DESC
+ *
+ * @var string $where
+ * @access public
+ */
var $where = '';
+
+ /**
+ * DESC
+ *
+ * @var string $order
+ * @access public
+ */
var $order = '';
+
+ /**
+ * DESC
+ *
+ * @var DB $db
+ * @access public
+ */
var $db;
+ /**
+ * Constructor
+ *
+ * @param TIPO $dbdata DESC
+ * @param TIPO $titulo DESC
+ * @param string $link_append DESC
+ *
+ * @return void
+ * @access public
+ */
function MECON_HTML_ArbolDB($dbdata, $titulo, $link_append = '')
{
if(isset($dbdata['id_padre']))
parent::MECON_HTML_Arbol(array(), $titulo, $link_append);
$this->datos = $this->BuscarHijos(0);
}
-
+
+ /**
+ * DESC
+ *
+ * @param TIPO $id DESC
+ *
+ * @return TIPO
+ * @access public
+ */
function BuscarHijos($id)
{
$sql = "SELECT $this->nombre, $this->id ";