function init()
 {
     $cT = new cTipos();
     $code = $this->mClave;
     $sql = "SELECT * FROM creditos_periocidadpagos WHERE `idcreditos_periocidadpagos` = {$code} LIMIT 0,1";
     //XXX: Error en el cierre de dia
     $this->mArrDatos = obten_filas($sql);
     $xPer = new cCreditos_periocidadpagos();
     $xPer->setData($this->mArrDatos);
     $this->mOb = $xPer;
 }