/** * @deprecated @since 2014.09.09 */ function getMesesInSelectOptions() { $xF = new cFecha(0); $txt = ""; foreach ($xF->getMesesInArray() as $key => $value) { $txt .= "<option value='{$key}'>{$key} - {$value}</option>"; } return $txt; }
function getListaDeMeses($id = "") { $id = $id == "" ? "idnumerodemes" : $id; $this->mLIDs[] = $id; $xS = new cSelect($id, $id, ""); $xF = new cFecha(0); foreach ($xF->getMesesInArray() as $key => $value) { $xS->addEspOption($key, "{$key} - {$value}"); } $xS->setOptionSelect(date("m")); $xS->setEsSql(); $xS->setLabel("TR.Mes"); return $xS; }