function ini() { //Inicializa la lista de editores $info_componentes = toba_info_editores::get_info_tipos_componente(); foreach ($info_componentes as $componente) { $this->datos_editores[$componente['clase']] = array('proyecto' => $componente['editor_proyecto'], 'item' => $componente['editor_item']); } }
function get_info_tipos_componente() { $datos = toba_info_editores::get_info_tipos_componente(); /*foreach (array_keys($datos) as $id) { if ($datos[$id]['clase_tipo'] == 9) { //unset($datos[$id]); } }*/ return $datos; }
function conf__cuadro($componente) { return toba_info_editores::get_info_tipos_componente(null, false); }
function conf__tipos() { return toba_info_editores::get_info_tipos_componente($this->destino['tipo'], true, $this->destino['objeto']); }