function jsaGetDatosCuenta($cuenta, $socio) { $xCta = new cCuentaALaVista($cuenta, $socio); $xCta->init(); $DC = $xCta->getDatosInArray(); $MaxRet = $xCta->getMaximoRetirable(); $sdo = $DC["saldo_cuenta"]; $tab = new TinyAjaxBehavior(); $tab->add(TabSetValue::getBehavior("idMaxRet", $MaxRet)); $tab->add(TabSetValue::getBehavior("idSaldoAnterior", $sdo)); //$tab -> add(TabSetValue::getBehavior("idmonto", $sdo )); //$tab -> add(TabSetValue::getBehavior("imsg", $xCta->getMessages("txt") )); return $tab->getString(); }