本文整理汇总了PHP中cLanguage::Phrase方法的典型用法代码示例。如果您正苦于以下问题:PHP cLanguage::Phrase方法的具体用法?PHP cLanguage::Phrase怎么用?PHP cLanguage::Phrase使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类cLanguage
的用法示例。
在下文中一共展示了cLanguage::Phrase方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: cLanguage
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: cLanguage
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'ReportePrueba';
$this->TableName = 'ReportePrueba';
$this->TableType = 'REPORT';
// Update Table
$this->UpdateTable = "`audittrail`";
$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->UserIDAllowSecurity = 0;
// User ID Allow
// id
$this->id = new cField('ReportePrueba', 'ReportePrueba', 'x_id', 'id', '`id`', '`id`', 3, -1, FALSE, '`id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'NO');
$this->id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id'] =& $this->id;
// datetime
$this->datetime = new cField('ReportePrueba', 'ReportePrueba', 'x_datetime', 'datetime', '`datetime`', 'DATE_FORMAT(`datetime`, \'%d/%m/%Y\')', 135, 7, FALSE, '`datetime`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->datetime->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateDMY"));
$this->fields['datetime'] =& $this->datetime;
// script
$this->script = new cField('ReportePrueba', 'ReportePrueba', 'x_script', 'script', '`script`', '`script`', 200, -1, FALSE, '`script`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['script'] =& $this->script;
// user
$this->user = new cField('ReportePrueba', 'ReportePrueba', 'x_user', 'user', '`user`', '`user`', 200, -1, FALSE, '`user`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['user'] =& $this->user;
// action
$this->action = new cField('ReportePrueba', 'ReportePrueba', 'x_action', 'action', '`action`', '`action`', 200, -1, FALSE, '`action`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['action'] =& $this->action;
// table
$this->_table = new cField('ReportePrueba', 'ReportePrueba', 'x__table', 'table', '`table`', '`table`', 200, -1, FALSE, '`table`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['table'] =& $this->_table;
// field
$this->_field = new cField('ReportePrueba', 'ReportePrueba', 'x__field', 'field', '`field`', '`field`', 200, -1, FALSE, '`field`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['field'] =& $this->_field;
// keyvalue
$this->keyvalue = new cField('ReportePrueba', 'ReportePrueba', 'x_keyvalue', 'keyvalue', '`keyvalue`', '`keyvalue`', 201, -1, FALSE, '`keyvalue`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXTAREA');
$this->fields['keyvalue'] =& $this->keyvalue;
// oldvalue
$this->oldvalue = new cField('ReportePrueba', 'ReportePrueba', 'x_oldvalue', 'oldvalue', '`oldvalue`', '`oldvalue`', 201, -1, FALSE, '`oldvalue`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXTAREA');
$this->fields['oldvalue'] =& $this->oldvalue;
// newvalue
$this->newvalue = new cField('ReportePrueba', 'ReportePrueba', 'x_newvalue', 'newvalue', '`newvalue`', '`newvalue`', 201, -1, FALSE, '`newvalue`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXTAREA');
$this->fields['newvalue'] =& $this->newvalue;
}
示例3: cLanguage
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;
}
示例4: cLanguage
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;
}
示例5: cLanguage
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;
}
示例6: cLanguage
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;
}
示例7: cLanguage
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;
}
示例8: cLanguage
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;
}
示例9: cLanguage
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;
}
示例10: cLanguage
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'status';
$this->TableName = 'status';
$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->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);
// id
$this->id = new cField('status', 'status', '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;
// status
$this->status = new cField('status', 'status', 'x_status', 'status', '`status`', '`status`', 201, -1, FALSE, '`status`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['status'] =& $this->status;
// account_id
$this->account_id = new cField('status', 'status', 'x_account_id', 'account_id', '`account_id`', '`account_id`', 3, -1, FALSE, '`account_id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->account_id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['account_id'] =& $this->account_id;
// profile_pix
$this->profile_pix = new cField('status', 'status', 'x_profile_pix', 'profile_pix', '`profile_pix`', '`profile_pix`', 201, -1, FALSE, '`profile_pix`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['profile_pix'] =& $this->profile_pix;
// autoreply
$this->autoreply = new cField('status', 'status', 'x_autoreply', 'autoreply', '`autoreply`', '`autoreply`', 201, -1, FALSE, '`autoreply`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['autoreply'] =& $this->autoreply;
// phonenumber
$this->phonenumber = new cField('status', 'status', 'x_phonenumber', 'phonenumber', '`phonenumber`', '`phonenumber`', 200, -1, FALSE, '`phonenumber`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['phonenumber'] =& $this->phonenumber;
}
示例11: cLanguage
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;
}
示例12: cLanguage
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;
}
示例13: cLanguage
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'vl_media_list';
$this->TableName = 'vl_media_list';
$this->TableType = 'TABLE';
// Update Table
$this->UpdateTable = "`vl_media_list`";
$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 = 1;
$this->AllowAddDeleteRow = ew_AllowAddDeleteRow();
// Allow add/delete row
$this->UserIDAllowSecurity = 0;
// User ID Allow
$this->BasicSearch = new cBasicSearch($this->TableVar);
// vl_media_id
$this->vl_media_id = new cField('vl_media_list', 'vl_media_list', 'x_vl_media_id', 'vl_media_id', '`vl_media_id`', '`vl_media_id`', 3, -1, FALSE, '`vl_media_id`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'NO');
$this->vl_media_id->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['vl_media_id'] =& $this->vl_media_id;
// vl_media_type
$this->vl_media_type = new cField('vl_media_list', 'vl_media_list', 'x_vl_media_type', 'vl_media_type', '`vl_media_type`', '`vl_media_type`', 3, -1, FALSE, '`vl_media_type`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'SELECT');
$this->vl_media_type->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['vl_media_type'] =& $this->vl_media_type;
// vl_media_name
$this->vl_media_name = new cField('vl_media_list', 'vl_media_list', 'x_vl_media_name', 'vl_media_name', '`vl_media_name`', '`vl_media_name`', 200, -1, FALSE, '`vl_media_name`', FALSE, FALSE, FALSE, 'FORMATTED TEXT', 'TEXT');
$this->fields['vl_media_name'] =& $this->vl_media_name;
// vl_media_file
$this->vl_media_file = new cField('vl_media_list', 'vl_media_list', 'x_vl_media_file', 'vl_media_file', '`vl_media_file`', '`vl_media_file`', 200, -1, TRUE, '`vl_media_file`', FALSE, FALSE, FALSE, 'IMAGE', 'FILE');
$this->fields['vl_media_file'] =& $this->vl_media_file;
// vl_media_file_custom
$this->vl_media_file_custom = new cField('vl_media_list', 'vl_media_list', 'x_vl_media_file_custom', 'vl_media_file_custom', '`vl_media_file_custom`', '`vl_media_file_custom`', 200, -1, TRUE, '`vl_media_file_custom`', FALSE, FALSE, FALSE, 'IMAGE', 'FILE');
$this->fields['vl_media_file_custom'] =& $this->vl_media_file_custom;
}
示例14: cLanguage
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'view1';
$this->TableName = 'view1';
$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);
// fecha_entrega
$this->fecha_entrega = new cField('view1', 'view1', 'x_fecha_entrega', 'fecha_entrega', '`fecha_entrega`', 'DATE_FORMAT(`fecha_entrega`, \'%d/%m/%Y\')', 133, 7, FALSE, '`fecha_entrega`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fecha_entrega->FldDefaultErrMsg = str_replace("%s", "/", $Language->Phrase("IncorrectDateDMY"));
$this->fields['fecha_entrega'] =& $this->fecha_entrega;
// observaciones
$this->observaciones = new cField('view1', 'view1', 'x_observaciones', 'observaciones', '`observaciones`', '`observaciones`', 201, -1, FALSE, '`observaciones`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['observaciones'] =& $this->observaciones;
// id_estado
$this->id_estado = new cField('view1', 'view1', 'x_id_estado', 'id_estado', '`id_estado`', '`id_estado`', 3, -1, FALSE, '`id_estado`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_estado->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_estado'] =& $this->id_estado;
// precio
$this->precio = new cField('view1', 'view1', 'x_precio', 'precio', '`precio`', '`precio`', 131, -1, FALSE, '`precio`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->precio->FldDefaultErrMsg = $Language->Phrase("IncorrectFloat");
$this->fields['precio'] =& $this->precio;
// entrega
$this->entrega = new cField('view1', 'view1', 'x_entrega', 'entrega', '`entrega`', '`entrega`', 131, -1, FALSE, '`entrega`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->entrega->FldDefaultErrMsg = $Language->Phrase("IncorrectFloat");
$this->fields['entrega'] =& $this->entrega;
// saldo
$this->saldo = new cField('view1', 'view1', 'x_saldo', 'saldo', '`saldo`', '`saldo`', 131, -1, FALSE, '`saldo`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->saldo->FldDefaultErrMsg = $Language->Phrase("IncorrectFloat");
$this->fields['saldo'] =& $this->saldo;
}
示例15: cLanguage
function __construct()
{
global $Language;
// Language object
if (!isset($Language)) {
$Language = new cLanguage();
}
$this->TableVar = 'r_listado_socios_por_actividad_y_rubro';
$this->TableName = 'r_listado_socios_por_actividad_y_rubro';
$this->TableType = 'REPORT';
$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->UserIDAllowSecurity = 0;
// User ID Allow
// id_rubro
$this->id_rubro = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', '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_actividad
$this->id_actividad = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', 'x_id_actividad', 'id_actividad', '`id_actividad`', '`id_actividad`', 3, -1, FALSE, '`id_actividad`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->id_actividad->FldDefaultErrMsg = $Language->Phrase("IncorrectInteger");
$this->fields['id_actividad'] =& $this->id_actividad;
// rubro
$this->rubro = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', 'x_rubro', 'rubro', '`rubro`', '`rubro`', 200, -1, FALSE, '`rubro`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['rubro'] =& $this->rubro;
// actividad
$this->actividad = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', 'x_actividad', 'actividad', '`actividad`', '`actividad`', 200, -1, FALSE, '`actividad`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['actividad'] =& $this->actividad;
// cuit_cuil
$this->cuit_cuil = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', '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('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', 'x_propietario', 'propietario', '`propietario`', '`propietario`', 200, -1, FALSE, '`propietario`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['propietario'] =& $this->propietario;
// comercio
$this->comercio = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', '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('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', '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;
// mail
$this->mail = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', 'x_mail', 'mail', '`mail`', '`mail`', 200, -1, FALSE, '`mail`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['mail'] =& $this->mail;
// tel
$this->tel = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', 'x_tel', 'tel', '`tel`', '`tel`', 200, -1, FALSE, '`tel`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['tel'] =& $this->tel;
// cel
$this->cel = new cField('r_listado_socios_por_actividad_y_rubro', 'r_listado_socios_por_actividad_y_rubro', 'x_cel', 'cel', '`cel`', '`cel`', 200, -1, FALSE, '`cel`', FALSE, FALSE, FALSE, 'FORMATTED TEXT');
$this->fields['cel'] =& $this->cel;
}