本文整理汇总了PHP中ew_AllowAddDeleteRow函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_AllowAddDeleteRow函数的具体用法?PHP ew_AllowAddDeleteRow怎么用?PHP ew_AllowAddDeleteRow使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ew_AllowAddDeleteRow函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'words';
$this->TableName = 'words';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// id
$this->id = new cField('words', 'words', 'x_id', 'id', '`id`', '`id`', 3, -1, FALSE, '`id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id'] =& $this->id;
// maori
$this->maori = new cField('words', 'words', 'x_maori', 'maori', '`maori`', '`maori`', 200, -1, FALSE, '`maori`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['maori'] =& $this->maori;
// english
$this->english = new cField('words', 'words', 'x_english', 'english', '`english`', '`english`', 201, -1, FALSE, '`english`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['english'] =& $this->english;
// description
$this->description = new cField('words', 'words', 'x_description', 'description', '`description`', '`description`', 201, -1, FALSE, '`description`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['description'] =& $this->description;
// dialects_id
$this->dialects_id = new cField('words', 'words', 'x_dialects_id', 'dialects_id', '`dialects_id`', '`dialects_id`', 3, -1, FALSE, '`dialects_id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->dialects_id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['dialects_id'] =& $this->dialects_id;
// tags
$this->tags = new cField('words', 'words', 'x_tags', 'tags', '`tags`', '`tags`', 200, -1, FALSE, '`tags`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['tags'] =& $this->tags;
// date_added
$this->date_added = new cField('words', 'words', 'x_date_added', 'date_added', '`date_added`', 'DATE_FORMAT(`date_added`, \'%Y/%m/%d\')', 135, 5, FALSE, '`date_added`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->date_added->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateYMD"));
$this->fields['date_added'] =& $this->date_added;
// date_updated
$this->date_updated = new cField('words', 'words', 'x_date_updated', 'date_updated', '`date_updated`', 'DATE_FORMAT(`date_updated`, \'%Y/%m/%d\')', 135, 5, FALSE, '`date_updated`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->date_updated->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateYMD"));
$this->fields['date_updated'] =& $this->date_updated;
}
示例2: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'detail_nilai';
$this->TableName = 'detail_nilai';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// id_detail_nilai
$this->id_detail_nilai = new cField('detail_nilai', 'detail_nilai', 'x_id_detail_nilai', 'id_detail_nilai', '`id_detail_nilai`', '`id_detail_nilai`', 3, -1, FALSE, '`id_detail_nilai`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_detail_nilai->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_detail_nilai'] =& $this->id_detail_nilai;
// id_nilai
$this->id_nilai = new cField('detail_nilai', 'detail_nilai', 'x_id_nilai', 'id_nilai', '`id_nilai`', '`id_nilai`', 3, -1, FALSE, '`id_nilai`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_nilai->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_nilai'] =& $this->id_nilai;
// id_mapel
$this->id_mapel = new cField('detail_nilai', 'detail_nilai', 'x_id_mapel', 'id_mapel', '`id_mapel`', '`id_mapel`', 3, -1, FALSE, '`id_mapel`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_mapel->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_mapel'] =& $this->id_mapel;
// nilai_afektif
$this->nilai_afektif = new cField('detail_nilai', 'detail_nilai', 'x_nilai_afektif', 'nilai_afektif', '`nilai_afektif`', '`nilai_afektif`', 3, -1, FALSE, '`nilai_afektif`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->nilai_afektif->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['nilai_afektif'] =& $this->nilai_afektif;
// nilai_komulatif
$this->nilai_komulatif = new cField('detail_nilai', 'detail_nilai', 'x_nilai_komulatif', 'nilai_komulatif', '`nilai_komulatif`', '`nilai_komulatif`', 3, -1, FALSE, '`nilai_komulatif`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->nilai_komulatif->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['nilai_komulatif'] =& $this->nilai_komulatif;
// nilai_psikomotorik
$this->nilai_psikomotorik = new cField('detail_nilai', 'detail_nilai', 'x_nilai_psikomotorik', 'nilai_psikomotorik', '`nilai_psikomotorik`', '`nilai_psikomotorik`', 3, -1, FALSE, '`nilai_psikomotorik`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->nilai_psikomotorik->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['nilai_psikomotorik'] =& $this->nilai_psikomotorik;
// nilai_rata_rata
$this->nilai_rata_rata = new cField('detail_nilai', 'detail_nilai', 'x_nilai_rata_rata', 'nilai_rata_rata', '`nilai_rata_rata`', '`nilai_rata_rata`', 3, -1, FALSE, '`nilai_rata_rata`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->nilai_rata_rata->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['nilai_rata_rata'] =& $this->nilai_rata_rata;
}
示例3: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'deudas';
$this->TableName = 'deudas';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = TRUE;
// Allow detail add
$this->DetailEdit = TRUE;
// Allow detail edit
$this->DetailView = TRUE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 104;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// id
$this->id = new cField('deudas', 'deudas', 'x_id', 'id', '`id`', '`id`', 3, -1, FALSE, '`id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id'] =& $this->id;
// mes
$this->mes = new cField('deudas', 'deudas', 'x_mes', 'mes', '`mes`', '`mes`', 200, -1, FALSE, '`mes`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->mes->FldDefaultErrMsg = str_replace(array("%1", "%2"), array("1", "12"), $Language->Phrase("IncorrectRange"));
$this->fields['mes'] =& $this->mes;
// anio
$this->anio = new cField('deudas', 'deudas', 'x_anio', 'anio', '`anio`', '`anio`', 200, -1, FALSE, '`anio`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->anio->FldDefaultErrMsg = str_replace(array("%1", "%2"), array("2012", "2100"), $Language->Phrase("IncorrectRange"));
$this->fields['anio'] =& $this->anio;
// fecha
$this->fecha = new cField('deudas', 'deudas', 'x_fecha', 'fecha', '`fecha`', 'DATE_FORMAT(`fecha`, \'%d/%m/%Y\')', 133, 7, FALSE, '`fecha`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fecha->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateDMY"));
$this->fields['fecha'] =& $this->fecha;
// monto
$this->monto = new cField('deudas', 'deudas', 'x_monto', 'monto', '`monto`', '`monto`', 131, -1, FALSE, '`monto`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->monto->FldDefaultErrMsg = $Language->Phrase("IncorrectFloat");
$this->fields['monto'] =& $this->monto;
// id_usuario
$this->id_usuario = new cField('deudas', 'deudas', 'x_id_usuario', 'id_usuario', '`id_usuario`', '`id_usuario`', 3, -1, FALSE, '`id_usuario`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_usuario->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_usuario'] =& $this->id_usuario;
// id_socio
$this->id_socio = new cField('deudas', 'deudas', 'x_id_socio', 'id_socio', '`id_socio`', '`id_socio`', 3, -1, FALSE, '`id_socio`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_socio->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_socio'] =& $this->id_socio;
}
示例4: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'rbac_permissions';
$this->TableName = 'rbac_permissions';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// id
$this->id = new cField('rbac_permissions', 'rbac_permissions', 'x_id', 'id', '`id`', '`id`', 19, -1, FALSE, '`id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id'] =& $this->id;
// name
$this->name = new cField('rbac_permissions', 'rbac_permissions', 'x_name', 'name', '`name`', '`name`', 200, -1, FALSE, '`name`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['name'] =& $this->name;
}
示例5: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'servicio_medico_prestado';
$this->TableName = 'servicio_medico_prestado';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// idservicio_medico_prestado
$this->idservicio_medico_prestado = new cField('servicio_medico_prestado', 'servicio_medico_prestado', 'x_idservicio_medico_prestado', 'idservicio_medico_prestado', '`idservicio_medico_prestado`', '`idservicio_medico_prestado`', 3, -1, FALSE, '`idservicio_medico_prestado`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->idservicio_medico_prestado->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['idservicio_medico_prestado'] =& $this->idservicio_medico_prestado;
// idcuenta
$this->idcuenta = new cField('servicio_medico_prestado', 'servicio_medico_prestado', 'x_idcuenta', 'idcuenta', '`idcuenta`', '`idcuenta`', 3, -1, FALSE, '`idcuenta`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->idcuenta->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['idcuenta'] =& $this->idcuenta;
// idservicio_medico
$this->idservicio_medico = new cField('servicio_medico_prestado', 'servicio_medico_prestado', 'x_idservicio_medico', 'idservicio_medico', '`idservicio_medico`', '`idservicio_medico`', 3, -1, FALSE, '`idservicio_medico`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->idservicio_medico->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['idservicio_medico'] =& $this->idservicio_medico;
// estado
$this->estado = new cField('servicio_medico_prestado', 'servicio_medico_prestado', 'x_estado', 'estado', '`estado`', '`estado`', 202, -1, FALSE, '`estado`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['estado'] =& $this->estado;
// costo
$this->costo = new cField('servicio_medico_prestado', 'servicio_medico_prestado', 'x_costo', 'costo', '`costo`', '`costo`', 131, -1, FALSE, '`costo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->costo->FldDefaultErrMsg = $Language->Phrase("IncorrectFloat");
$this->fields['costo'] =& $this->costo;
// fecha_inicio
$this->fecha_inicio = new cField('servicio_medico_prestado', 'servicio_medico_prestado', 'x_fecha_inicio', 'fecha_inicio', '`fecha_inicio`', 'DATE_FORMAT(`fecha_inicio`, \'%d/%m/%Y\')', 133, 7, FALSE, '`fecha_inicio`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fecha_inicio->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateDMY"));
$this->fields['fecha_inicio'] =& $this->fecha_inicio;
// fecha_final
$this->fecha_final = new cField('servicio_medico_prestado', 'servicio_medico_prestado', 'x_fecha_final', 'fecha_final', '`fecha_final`', 'DATE_FORMAT(`fecha_final`, \'%d/%m/%Y\')', 133, 7, FALSE, '`fecha_final`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fecha_final->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateDMY"));
$this->fields['fecha_final'] =& $this->fecha_final;
}
示例6: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'Countries';
$this->TableName = 'Countries';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// CountryID
$this->CountryID = new cField('Countries', 'Countries', 'x_CountryID', 'CountryID', '`CountryID`', '`CountryID`', 3, -1, FALSE, '`CountryID`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->CountryID->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['CountryID'] =& $this->CountryID;
// Code
$this->Code = new cField('Countries', 'Countries', 'x_Code', 'Code', '`Code`', '`Code`', 200, -1, FALSE, '`Code`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['Code'] =& $this->Code;
// Name
$this->Name = new cField('Countries', 'Countries', 'x_Name', 'Name', '`Name`', '`Name`', 200, -1, FALSE, '`Name`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['Name'] =& $this->Name;
// FullName
$this->FullName = new cField('Countries', 'Countries', 'x_FullName', 'FullName', '`FullName`', '`FullName`', 200, -1, FALSE, '`FullName`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['FullName'] =& $this->FullName;
// ISO3
$this->ISO3 = new cField('Countries', 'Countries', 'x_ISO3', 'ISO3', '`ISO3`', '`ISO3`', 200, -1, FALSE, '`ISO3`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['ISO3'] =& $this->ISO3;
// Number
$this->Number = new cField('Countries', 'Countries', 'x_Number', 'Number', '`Number`', '`Number`', 18, -1, FALSE, '`Number`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->Number->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['Number'] =& $this->Number;
// ContinentCode
$this->ContinentCode = new cField('Countries', 'Countries', 'x_ContinentCode', 'ContinentCode', '`ContinentCode`', '`ContinentCode`', 200, -1, FALSE, '`ContinentCode`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['ContinentCode'] =& $this->ContinentCode;
// DisplayOrder
$this->DisplayOrder = new cField('Countries', 'Countries', 'x_DisplayOrder', 'DisplayOrder', '`DisplayOrder`', '`DisplayOrder`', 3, -1, FALSE, '`DisplayOrder`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->DisplayOrder->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['DisplayOrder'] =& $this->DisplayOrder;
}
示例7: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'gastos_mantenimientos';
$this->TableName = 'gastos_mantenimientos';
$this->TableType = 'TABLE';
$this->ExportAll = FALSE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->ExportExcelPageOrientation = "";
// Page orientation (PHPExcel only)
$this->ExportExcelPageSize = "";
// Page size (PHPExcel only)
$this->DetailAdd = TRUE;
// Allow detail add
$this->DetailEdit = TRUE;
// Allow detail edit
$this->DetailView = TRUE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// codigo
$this->codigo = new cField('gastos_mantenimientos', 'gastos_mantenimientos', 'x_codigo', 'codigo', '`codigo`', '`codigo`', 3, -1, FALSE, '`codigo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->codigo->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['codigo'] =& $this->codigo;
// detalle
$this->detalle = new cField('gastos_mantenimientos', 'gastos_mantenimientos', 'x_detalle', 'detalle', '`detalle`', '`detalle`', 200, -1, FALSE, '`detalle`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['detalle'] =& $this->detalle;
// fecha
$this->fecha = new cField('gastos_mantenimientos', 'gastos_mantenimientos', 'x_fecha', 'fecha', '`fecha`', 'DATE_FORMAT(`fecha`, \'%d/%m/%Y\')', 133, 7, FALSE, '`fecha`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fecha->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateDMY"));
$this->fields['fecha'] =& $this->fecha;
// id_tipo_gasto
$this->id_tipo_gasto = new cField('gastos_mantenimientos', 'gastos_mantenimientos', 'x_id_tipo_gasto', 'id_tipo_gasto', '`id_tipo_gasto`', '`id_tipo_gasto`', 3, -1, FALSE, '`EV__id_tipo_gasto`', TRUE, TRUE, TRUE, 'FORMATTED TEXT');
$this->id_tipo_gasto->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_tipo_gasto'] =& $this->id_tipo_gasto;
// id_hoja_mantenimeinto
$this->id_hoja_mantenimeinto = new cField('gastos_mantenimientos', 'gastos_mantenimientos', 'x_id_hoja_mantenimeinto', 'id_hoja_mantenimeinto', '`id_hoja_mantenimeinto`', '`id_hoja_mantenimeinto`', 3, -1, FALSE, '`id_hoja_mantenimeinto`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_hoja_mantenimeinto->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_hoja_mantenimeinto'] =& $this->id_hoja_mantenimeinto;
// id_usuario
$this->id_usuario = new cField('gastos_mantenimientos', 'gastos_mantenimientos', 'x_id_usuario', 'id_usuario', '`id_usuario`', '`id_usuario`', 3, -1, FALSE, '`id_usuario`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_usuario->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_usuario'] =& $this->id_usuario;
}
示例8: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'v_total_estado_cuenta_x_anio_mes';
$this->TableName = 'v_total_estado_cuenta_x_anio_mes';
$this->TableType = 'VIEW';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// socio_nro
$this->socio_nro = new cField('v_total_estado_cuenta_x_anio_mes', 'v_total_estado_cuenta_x_anio_mes', 'x_socio_nro', 'socio_nro', '`socio_nro`', '`socio_nro`', 3, -1, FALSE, '`socio_nro`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->socio_nro->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['socio_nro'] =& $this->socio_nro;
// cuit_cuil
$this->cuit_cuil = new cField('v_total_estado_cuenta_x_anio_mes', 'v_total_estado_cuenta_x_anio_mes', 'x_cuit_cuil', 'cuit_cuil', '`cuit_cuil`', '`cuit_cuil`', 200, -1, FALSE, '`cuit_cuil`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['cuit_cuil'] =& $this->cuit_cuil;
// propietario
$this->propietario = new cField('v_total_estado_cuenta_x_anio_mes', 'v_total_estado_cuenta_x_anio_mes', 'x_propietario', 'propietario', '`propietario`', '`propietario`', 200, -1, FALSE, '`propietario`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['propietario'] =& $this->propietario;
// comercio
$this->comercio = new cField('v_total_estado_cuenta_x_anio_mes', 'v_total_estado_cuenta_x_anio_mes', 'x_comercio', 'comercio', '`comercio`', '`comercio`', 200, -1, FALSE, '`comercio`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['comercio'] =& $this->comercio;
// mes
$this->mes = new cField('v_total_estado_cuenta_x_anio_mes', 'v_total_estado_cuenta_x_anio_mes', 'x_mes', 'mes', '`mes`', '`mes`', 200, -1, FALSE, '`mes`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['mes'] =& $this->mes;
// anio
$this->anio = new cField('v_total_estado_cuenta_x_anio_mes', 'v_total_estado_cuenta_x_anio_mes', 'x_anio', 'anio', '`anio`', '`anio`', 200, -1, FALSE, '`anio`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['anio'] =& $this->anio;
// deuda
$this->deuda = new cField('v_total_estado_cuenta_x_anio_mes', 'v_total_estado_cuenta_x_anio_mes', 'x_deuda', 'deuda', '`deuda`', '`deuda`', 131, -1, FALSE, '`deuda`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->deuda->FldDefaultErrMsg = $Language->Phrase("IncorrectFloat");
$this->fields['deuda'] =& $this->deuda;
// pago
$this->pago = new cField('v_total_estado_cuenta_x_anio_mes', 'v_total_estado_cuenta_x_anio_mes', 'x_pago', 'pago', '`pago`', '`pago`', 131, -1, FALSE, '`pago`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->pago->FldDefaultErrMsg = $Language->Phrase("IncorrectFloat");
$this->fields['pago'] =& $this->pago;
}
示例9: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'rider';
$this->TableName = 'rider';
$this->TableType = 'TABLE';
// Update Table
$this->UpdateTable = "`rider`";
$this->DBID = 'DB';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->ExportExcelPageOrientation = "";
// Page orientation (PHPExcel only)
$this->ExportExcelPageSize = "";
// Page size (PHPExcel only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// rider_id
$this->rider_id = new cField('rider', 'rider', 'x_rider_id', 'rider_id', '`rider_id`', '`rider_id`', 3, -1, FALSE, '`rider_id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'NO');
$this->rider_id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['rider_id'] =& $this->rider_id;
// rider_name
$this->rider_name = new cField('rider', 'rider', 'x_rider_name', 'rider_name', '`rider_name`', '`rider_name`', 200, -1, FALSE, '`rider_name`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['rider_name'] =& $this->rider_name;
// rider_contact
$this->rider_contact = new cField('rider', 'rider', 'x_rider_contact', 'rider_contact', '`rider_contact`', '`rider_contact`', 200, -1, FALSE, '`rider_contact`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['rider_contact'] =& $this->rider_contact;
// rider_pic
$this->rider_pic = new cField('rider', 'rider', 'x_rider_pic', 'rider_pic', '`rider_pic`', '`rider_pic`', 200, -1, TRUE, '`rider_pic`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'FILE');
$this->fields['rider_pic'] =& $this->rider_pic;
// rider_cnic
$this->rider_cnic = new cField('rider', 'rider', 'x_rider_cnic', 'rider_cnic', '`rider_cnic`', '`rider_cnic`', 200, -1, FALSE, '`rider_cnic`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['rider_cnic'] =& $this->rider_cnic;
// rider_address
$this->rider_address = new cField('rider', 'rider', 'x_rider_address', 'rider_address', '`rider_address`', '`rider_address`', 201, -1, FALSE, '`rider_address`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXTAREA');
$this->fields['rider_address'] =& $this->rider_address;
}
示例10: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'empleado';
$this->TableName = 'empleado';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// idempleado
$this->idempleado = new cField('empleado', 'empleado', 'x_idempleado', 'idempleado', '`idempleado`', '`idempleado`', 3, -1, FALSE, '`idempleado`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->idempleado->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['idempleado'] =& $this->idempleado;
// nombre
$this->nombre = new cField('empleado', 'empleado', 'x_nombre', 'nombre', '`nombre`', '`nombre`', 200, -1, FALSE, '`nombre`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['nombre'] =& $this->nombre;
// apellido
$this->apellido = new cField('empleado', 'empleado', 'x_apellido', 'apellido', '`apellido`', '`apellido`', 200, -1, FALSE, '`apellido`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['apellido'] =& $this->apellido;
// cui
$this->cui = new cField('empleado', 'empleado', 'x_cui', 'cui', '`cui`', '`cui`', 200, -1, FALSE, '`cui`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['cui'] =& $this->cui;
// telefono
$this->telefono = new cField('empleado', 'empleado', 'x_telefono', 'telefono', '`telefono`', '`telefono`', 200, -1, FALSE, '`telefono`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['telefono'] =& $this->telefono;
// direccion
$this->direccion = new cField('empleado', 'empleado', 'x_direccion', 'direccion', '`direccion`', '`direccion`', 200, -1, FALSE, '`direccion`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['direccion'] =& $this->direccion;
// estado
$this->estado = new cField('empleado', 'empleado', 'x_estado', 'estado', '`estado`', '`estado`', 202, -1, FALSE, '`estado`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['estado'] =& $this->estado;
// idhospital
$this->idhospital = new cField('empleado', 'empleado', 'x_idhospital', 'idhospital', '`idhospital`', '`idhospital`', 3, -1, FALSE, '`idhospital`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->idhospital->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['idhospital'] =& $this->idhospital;
}
示例11: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'v_hoja_manteniminto';
$this->TableName = 'v_hoja_manteniminto';
$this->TableType = 'VIEW';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// tipo_mantenimiento
$this->tipo_mantenimiento = new cField('v_hoja_manteniminto', 'v_hoja_manteniminto', 'x_tipo_mantenimiento', 'tipo_mantenimiento', '`tipo_mantenimiento`', '`tipo_mantenimiento`', 200, -1, FALSE, '`tipo_mantenimiento`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['tipo_mantenimiento'] =& $this->tipo_mantenimiento;
// taller
$this->taller = new cField('v_hoja_manteniminto', 'v_hoja_manteniminto', 'x_taller', 'taller', '`taller`', '`taller`', 200, -1, FALSE, '`taller`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['taller'] =& $this->taller;
// Patente
$this->Patente = new cField('v_hoja_manteniminto', 'v_hoja_manteniminto', 'x_Patente', 'Patente', '`Patente`', '`Patente`', 200, -1, FALSE, '`Patente`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['Patente'] =& $this->Patente;
// modelo
$this->modelo = new cField('v_hoja_manteniminto', 'v_hoja_manteniminto', 'x_modelo', 'modelo', '`modelo`', '`modelo`', 3, -1, FALSE, '`modelo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->modelo->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['modelo'] =& $this->modelo;
// nombre
$this->nombre = new cField('v_hoja_manteniminto', 'v_hoja_manteniminto', 'x_nombre', 'nombre', '`nombre`', '`nombre`', 200, -1, FALSE, '`nombre`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['nombre'] =& $this->nombre;
// fecha_ini
$this->fecha_ini = new cField('v_hoja_manteniminto', 'v_hoja_manteniminto', 'x_fecha_ini', 'fecha_ini', '`fecha_ini`', '`fecha_ini`', 200, -1, FALSE, '`fecha_ini`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['fecha_ini'] =& $this->fecha_ini;
// fecha_fin
$this->fecha_fin = new cField('v_hoja_manteniminto', 'v_hoja_manteniminto', 'x_fecha_fin', 'fecha_fin', '`fecha_fin`', '`fecha_fin`', 200, -1, FALSE, '`fecha_fin`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['fecha_fin'] =& $this->fecha_fin;
// codigo
$this->codigo = new cField('v_hoja_manteniminto', 'v_hoja_manteniminto', 'x_codigo', 'codigo', '`codigo`', '`codigo`', 3, -1, FALSE, '`codigo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->codigo->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['codigo'] =& $this->codigo;
}
示例12: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'items';
$this->TableName = 'items';
$this->TableType = 'TABLE';
// Update Table
$this->UpdateTable = "`items`";
$this->DBID = 'DB';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->ExportExcelPageOrientation = "";
// Page orientation (PHPExcel only)
$this->ExportExcelPageSize = "";
// Page size (PHPExcel only)
$this->DetailAdd = TRUE;
// Allow detail add
$this->DetailEdit = TRUE;
// Allow detail edit
$this->DetailView = TRUE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// item_id
$this->item_id = new cField('items', 'items', 'x_item_id', 'item_id', '`item_id`', '`item_id`', 3, -1, FALSE, '`item_id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'NO');
$this->item_id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['item_id'] =& $this->item_id;
// cat_id
$this->cat_id = new cField('items', 'items', 'x_cat_id', 'cat_id', '`cat_id`', '`cat_id`', 3, -1, FALSE, '`cat_id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->cat_id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['cat_id'] =& $this->cat_id;
// item_name
$this->item_name = new cField('items', 'items', 'x_item_name', 'item_name', '`item_name`', '`item_name`', 201, -1, FALSE, '`item_name`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXTAREA');
$this->fields['item_name'] =& $this->item_name;
// item_price
$this->item_price = new cField('items', 'items', 'x_item_price', 'item_price', '`item_price`', '`item_price`', 3, -1, FALSE, '`item_price`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->item_price->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['item_price'] =& $this->item_price;
// item_desc
$this->item_desc = new cField('items', 'items', 'x_item_desc', 'item_desc', '`item_desc`', '`item_desc`', 201, -1, FALSE, '`item_desc`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXTAREA');
$this->fields['item_desc'] =& $this->item_desc;
}
示例13: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'seguimiento_tramites';
$this->TableName = 'seguimiento_tramites';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = TRUE;
// Allow detail add
$this->DetailEdit = TRUE;
// Allow detail edit
$this->DetailView = TRUE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// id_tramite
$this->id_tramite = new cField('seguimiento_tramites', 'seguimiento_tramites', 'x_id_tramite', 'id_tramite', '`id_tramite`', '`id_tramite`', 3, -1, FALSE, '`EV__id_tramite`', TRUE, TRUE, TRUE, 'FORMATTED TEXT');
$this->id_tramite->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_tramite'] =& $this->id_tramite;
// fecha
$this->fecha = new cField('seguimiento_tramites', 'seguimiento_tramites', 'x_fecha', 'fecha', '`fecha`', 'DATE_FORMAT(`fecha`, \'%d/%m/%Y\')', 133, 7, FALSE, '`fecha`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fecha->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateDMY"));
$this->fields['fecha'] =& $this->fecha;
// hora
$this->hora = new cField('seguimiento_tramites', 'seguimiento_tramites', 'x_hora', 'hora', '`hora`', 'DATE_FORMAT(`hora`, \'%d/%m/%Y\')', 134, -1, FALSE, '`hora`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->hora->FldDefaultErrMsg = $Language->Phrase("IncorrectTime");
$this->fields['hora'] =& $this->hora;
// titulo
$this->titulo = new cField('seguimiento_tramites', 'seguimiento_tramites', 'x_titulo', 'titulo', '`titulo`', '`titulo`', 200, -1, FALSE, '`titulo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['titulo'] =& $this->titulo;
// descripcion
$this->descripcion = new cField('seguimiento_tramites', 'seguimiento_tramites', 'x_descripcion', 'descripcion', '`descripcion`', '`descripcion`', 201, -1, FALSE, '`descripcion`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['descripcion'] =& $this->descripcion;
// id_usuario
$this->id_usuario = new cField('seguimiento_tramites', 'seguimiento_tramites', 'x_id_usuario', 'id_usuario', '`id_usuario`', '`id_usuario`', 200, -1, FALSE, '`id_usuario`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['id_usuario'] =& $this->id_usuario;
// archivo
$this->archivo = new cField('seguimiento_tramites', 'seguimiento_tramites', 'x_archivo', 'archivo', '`archivo`', '`archivo`', 200, -1, TRUE, '`archivo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->archivo->UploadMultiple = TRUE;
$this->fields['archivo'] =& $this->archivo;
}
示例14: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'socios';
$this->TableName = 'socios';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// socio_nro
$this->socio_nro = new cField('socios', 'socios', 'x_socio_nro', 'socio_nro', '`socio_nro`', '`socio_nro`', 3, -1, FALSE, '`socio_nro`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->socio_nro->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['socio_nro'] =& $this->socio_nro;
// id_rubro
$this->id_rubro = new cField('socios', 'socios', 'x_id_rubro', 'id_rubro', '`id_rubro`', '`id_rubro`', 3, -1, FALSE, '`id_rubro`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_rubro->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_rubro'] =& $this->id_rubro;
// id_usuario
$this->id_usuario = new cField('socios', 'socios', 'x_id_usuario', 'id_usuario', '`id_usuario`', '`id_usuario`', 3, -1, FALSE, '`id_usuario`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_usuario->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_usuario'] =& $this->id_usuario;
// propietario
$this->propietario = new cField('socios', 'socios', 'x_propietario', 'propietario', '`propietario`', '`propietario`', 200, -1, FALSE, '`propietario`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['propietario'] =& $this->propietario;
// comercio
$this->comercio = new cField('socios', 'socios', 'x_comercio', 'comercio', '`comercio`', '`comercio`', 200, -1, FALSE, '`comercio`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['comercio'] =& $this->comercio;
// direccion_comercio
$this->direccion_comercio = new cField('socios', 'socios', 'x_direccion_comercio', 'direccion_comercio', '`direccion_comercio`', '`direccion_comercio`', 200, -1, FALSE, '`direccion_comercio`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['direccion_comercio'] =& $this->direccion_comercio;
// activo
$this->activo = new cField('socios', 'socios', 'x_activo', 'activo', '`activo`', '`activo`', 200, -1, FALSE, '`activo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['activo'] =& $this->activo;
}
示例15: __construct
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'usuario';
$this->TableName = 'usuario';
$this->TableType = 'TABLE';
$this->ExportAll = TRUE;
$this->ExportPageBreakCount = 0;
// Page break per every n record (PDF only)
$this->ExportPageOrientation = "portrait";
// Page orientation (PDF only)
$this->ExportPageSize = "a4";
// Page size (PDF only)
$this->DetailAdd = FALSE;
// Allow detail add
$this->DetailEdit = FALSE;
// Allow detail edit
$this->DetailView = FALSE;
// Allow detail view
$this->ShowMultipleDetails = FALSE;
// Show multiple details
$this->GridAddRowCount = 5;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// id
$this->id = new cField('usuario', 'usuario', 'x_id', 'id', '`id`', '`id`', 3, -1, FALSE, '`id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id'] =& $this->id;
// usuario
$this->usuario = new cField('usuario', 'usuario', 'x_usuario', 'usuario', '`usuario`', '`usuario`', 200, -1, FALSE, '`usuario`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['usuario'] =& $this->usuario;
// contrasenia
$this->contrasenia = new cField('usuario', 'usuario', 'x_contrasenia', 'contrasenia', '`contrasenia`', '`contrasenia`', 200, -1, FALSE, '`contrasenia`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['contrasenia'] =& $this->contrasenia;
// nombre
$this->nombre = new cField('usuario', 'usuario', 'x_nombre', 'nombre', '`nombre`', '`nombre`', 200, -1, FALSE, '`nombre`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['nombre'] =& $this->nombre;
// email
$this->_email = new cField('usuario', 'usuario', 'x__email', 'email', '`email`', '`email`', 200, -1, FALSE, '`email`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->_email->FldDefaultErrMsg = $Language->Phrase("IncorrectEmail");
$this->fields['email'] =& $this->_email;
// cel
$this->cel = new cField('usuario', 'usuario', 'x_cel', 'cel', '`cel`', '`cel`', 200, -1, FALSE, '`cel`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->cel->FldDefaultErrMsg = $Language->Phrase("IncorrectPhone");
$this->fields['cel'] =& $this->cel;
// activo
$this->activo = new cField('usuario', 'usuario', 'x_activo', 'activo', '`activo`', '`activo`', 200, -1, FALSE, '`activo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['activo'] =& $this->activo;
}