* Instance provides a convenient way of calling static methods on a class
* that calling code may not be able to identify.
* @var EnvioCorreoUsuarioPeer
*/
protectedstatic$peer;
/**
* The flag var to prevent infinite loop in deep copy
* @var boolean
*/
protected$startCopy=false;
/**
* The value for the ecu_id field.
* @var int
*/
protected$ecu_id;
/**
* The value for the unu_id field.
* @var int
*/
protected$unu_id;
/**
* The value for the ecu_estado field.
* @var int
*/
protected$ecu_estado;
/**
* The value for the created_at field.
* @var string
*/
protected$created_at;
/**
* The value for the updated_at field.
* @var string
*/
protected$updated_at;
/**
* @var UsuarioNutrapharm
*/
protected$aUsuarioNutrapharm;
/**
* Flag to prevent endless save loop, if this object is referenced
* by another object which falls in this transaction.
* @var boolean
*/
protected$alreadyInSave=false;
/**
* Flag to prevent endless validation loop, if this object is referenced
* by another object which falls in this transaction.
* @var boolean
*/
protected$alreadyInValidation=false;
/**
* Flag to prevent endless clearAllReferences($deep=true) loop, if this object is referenced
* @var boolean
*/
protected$alreadyInClearAllReferencesDeep=false;
/**
* Get the [ecu_id] column value.
*
* @return int
*/
publicfunctiongetEcuId()
{
return$this->ecu_id;
}
/**
* Get the [unu_id] column value.
*
* @return int
*/
publicfunctiongetUnuId()
{
return$this->unu_id;
}
/**
* Get the [ecu_estado] column value.
*
* @return int
*/
publicfunctiongetEcuEstado()
{
return$this->ecu_estado;
}
/**
* Get the [optionally formatted] temporal [created_at] column value.
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is null, then the raw DateTime object will be returned.
* @return mixed Formatted date/time value as string or DateTime object (if format is null), null if column is null, and 0 if column value is 0000-00-00 00:00:00
* @throws PropelException - if unable to parse/validate the date/time value.
*/
publicfunctiongetCreatedAt($format=null)
{
if($this->created_at===null){
returnnull;
}
if($this->created_at==='0000-00-00 00:00:00'){
// while technically this is not a default value of null,
// this seems to be closest in meaning.
returnnull;
}
try{
$dt=newDateTime($this->created_at);
}catch(Exception$x){
thrownewPropelException("Internally stored date/time/timestamp value could not be converted to DateTime: ".var_export($this->created_at,true),$x);
}
if($format===null){
// Because propel.useDateTimeClass is true, we return a DateTime object.
return$dt;
}
if(strpos($format,'%')!==false){
returnstrftime($format,$dt->format('U'));
}
return$dt->format($format);
}
/**
* Get the [optionally formatted] temporal [updated_at] column value.
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is null, then the raw DateTime object will be returned.
* @return mixed Formatted date/time value as string or DateTime object (if format is null), null if column is null, and 0 if column value is 0000-00-00 00:00:00
* @throws PropelException - if unable to parse/validate the date/time value.
*/
publicfunctiongetUpdatedAt($format=null)
{
if($this->updated_at===null){
returnnull;
}
if($this->updated_at==='0000-00-00 00:00:00'){
// while technically this is not a default value of null,
// this seems to be closest in meaning.
returnnull;
}
try{
$dt=newDateTime($this->updated_at);
}catch(Exception$x){
thrownewPropelException("Internally stored date/time/timestamp value could not be converted to DateTime: ".var_export($this->updated_at,true),$x);
}
if($format===null){
// Because propel.useDateTimeClass is true, we return a DateTime object.
return$dt;
}
if(strpos($format,'%')!==false){
returnstrftime($format,$dt->format('U'));
}
return$dt->format($format);
}
/**
* Set the value of [ecu_id] column.
*
* @param int $v new value
* @return EnvioCorreoUsuario The current object (for fluent API support)
thrownewPropelException("'$name' could not be found in the field names of type '$fromType'. These are: ".print_r(EnvioCorreoUsuarioPeer::$fieldKeys[$fromType],true));
}
return$toNames[$key];
}
/**
* Returns an array of field names.
*
* @param string $type The type of fieldnames to return:
* One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME
thrownewPropelException('Method getFieldNames() expects the parameter $type to be one of the class constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. '.$type.' was given.');
}
returnEnvioCorreoUsuarioPeer::$fieldNames[$type];
}
/**
* Convenience method which changes table.column to alias.column.
*
* Using this method you can maintain SQL abstraction while using column aliases.
$e=newPropelException("Invalid value passed to removeInstanceFromPool(). Expected primary key or EnvioCorreoUsuario object; got ".(is_object($value)?get_class($value).' object.':var_export($value,true)));
throw$e;
}
unset(EnvioCorreoUsuarioPeer::$instances[$key]);
}
}// removeInstanceFromPool()
/**
* Retrieves a string version of the primary key from the DB resultset row that can be used to uniquely identify a row in this table.
*
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, a serialize()d version of the primary key will be returned.
*
* @param string $key The key (@see getPrimaryKeyHash()) for this instance.
* @return EnvioCorreoUsuario Found object or null if 1) no instance exists for specified key or 2) instance pooling has been disabled.
* @method EnvioCorreoUsuarioQuery orderByEcuId($order = Criteria::ASC) Order by the ecu_id column
* @method EnvioCorreoUsuarioQuery orderByUnuId($order = Criteria::ASC) Order by the unu_id column
* @method EnvioCorreoUsuarioQuery orderByEcuEstado($order = Criteria::ASC) Order by the ecu_estado column
* @method EnvioCorreoUsuarioQuery orderByCreatedAt($order = Criteria::ASC) Order by the created_at column
* @method EnvioCorreoUsuarioQuery orderByUpdatedAt($order = Criteria::ASC) Order by the updated_at column
*
* @method EnvioCorreoUsuarioQuery groupByEcuId() Group by the ecu_id column
* @method EnvioCorreoUsuarioQuery groupByUnuId() Group by the unu_id column
* @method EnvioCorreoUsuarioQuery groupByEcuEstado() Group by the ecu_estado column
* @method EnvioCorreoUsuarioQuery groupByCreatedAt() Group by the created_at column
* @method EnvioCorreoUsuarioQuery groupByUpdatedAt() Group by the updated_at column
*
* @method EnvioCorreoUsuarioQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method EnvioCorreoUsuarioQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
* @method EnvioCorreoUsuarioQuery innerJoin($relation) Adds a INNER JOIN clause to the query
*
* @method EnvioCorreoUsuarioQuery leftJoinUsuarioNutrapharm($relationAlias = null) Adds a LEFT JOIN clause to the query using the UsuarioNutrapharm relation
* @method EnvioCorreoUsuarioQuery rightJoinUsuarioNutrapharm($relationAlias = null) Adds a RIGHT JOIN clause to the query using the UsuarioNutrapharm relation
* @method EnvioCorreoUsuarioQuery innerJoinUsuarioNutrapharm($relationAlias = null) Adds a INNER JOIN clause to the query using the UsuarioNutrapharm relation
*
* @method EnvioCorreoUsuario findOne(PropelPDO $con = null) Return the first EnvioCorreoUsuario matching the query
* @method EnvioCorreoUsuario findOneOrCreate(PropelPDO $con = null) Return the first EnvioCorreoUsuario matching the query, or a new EnvioCorreoUsuario object populated from the query conditions when no match is found
*
* @method EnvioCorreoUsuario findOneByUnuId(int $unu_id) Return the first EnvioCorreoUsuario filtered by the unu_id column
* @method EnvioCorreoUsuario findOneByEcuEstado(int $ecu_estado) Return the first EnvioCorreoUsuario filtered by the ecu_estado column
* @method EnvioCorreoUsuario findOneByCreatedAt(string $created_at) Return the first EnvioCorreoUsuario filtered by the created_at column
* @method EnvioCorreoUsuario findOneByUpdatedAt(string $updated_at) Return the first EnvioCorreoUsuario filtered by the updated_at column
*
* @method array findByEcuId(int $ecu_id) Return EnvioCorreoUsuario objects filtered by the ecu_id column
* @method array findByUnuId(int $unu_id) Return EnvioCorreoUsuario objects filtered by the unu_id column
* @method array findByEcuEstado(int $ecu_estado) Return EnvioCorreoUsuario objects filtered by the ecu_estado column
* @method array findByCreatedAt(string $created_at) Return EnvioCorreoUsuario objects filtered by the created_at column
* @method array findByUpdatedAt(string $updated_at) Return EnvioCorreoUsuario objects filtered by the updated_at column
thrownewPropelException("'$name' could not be found in the field names of type '$fromType'. These are: ".print_r(ParametroConfiguracionPeer::$fieldKeys[$fromType],true));
}
return$toNames[$key];
}
/**
* Returns an array of field names.
*
* @param string $type The type of fieldnames to return:
* One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME
thrownewPropelException('Method getFieldNames() expects the parameter $type to be one of the class constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. '.$type.' was given.');
$e=newPropelException("Invalid value passed to removeInstanceFromPool(). Expected primary key or ParametroConfiguracion object; got ".(is_object($value)?get_class($value).' object.':var_export($value,true)));
* @method ParametroConfiguracionQuery orderByPcoId($order = Criteria::ASC) Order by the pco_id column
* @method ParametroConfiguracionQuery orderByPcoNombre($order = Criteria::ASC) Order by the pco_nombre column
* @method ParametroConfiguracionQuery orderByPcoValor($order = Criteria::ASC) Order by the pco_valor column
* @method ParametroConfiguracionQuery orderByPcoDescripcion($order = Criteria::ASC) Order by the pco_descripcion column
*
* @method ParametroConfiguracionQuery groupByPcoId() Group by the pco_id column
* @method ParametroConfiguracionQuery groupByPcoNombre() Group by the pco_nombre column
* @method ParametroConfiguracionQuery groupByPcoValor() Group by the pco_valor column
* @method ParametroConfiguracionQuery groupByPcoDescripcion() Group by the pco_descripcion column
*
* @method ParametroConfiguracionQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method ParametroConfiguracionQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
* @method ParametroConfiguracionQuery innerJoin($relation) Adds a INNER JOIN clause to the query
*
* @method ParametroConfiguracion findOne(PropelPDO $con = null) Return the first ParametroConfiguracion matching the query
* @method ParametroConfiguracion findOneOrCreate(PropelPDO $con = null) Return the first ParametroConfiguracion matching the query, or a new ParametroConfiguracion object populated from the query conditions when no match is found
*
* @method ParametroConfiguracion findOneByPcoNombre(string $pco_nombre) Return the first ParametroConfiguracion filtered by the pco_nombre column
* @method ParametroConfiguracion findOneByPcoValor(string $pco_valor) Return the first ParametroConfiguracion filtered by the pco_valor column
* @method ParametroConfiguracion findOneByPcoDescripcion(string $pco_descripcion) Return the first ParametroConfiguracion filtered by the pco_descripcion column
*
* @method array findByPcoId(int $pco_id) Return ParametroConfiguracion objects filtered by the pco_id column
* @method array findByPcoNombre(string $pco_nombre) Return ParametroConfiguracion objects filtered by the pco_nombre column
* @method array findByPcoValor(string $pco_valor) Return ParametroConfiguracion objects filtered by the pco_valor column
* @method array findByPcoDescripcion(string $pco_descripcion) Return ParametroConfiguracion objects filtered by the pco_descripcion column
* Get the [optionally formatted] temporal [created_at] column value.
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is null, then the raw DateTime object will be returned.
* @return mixed Formatted date/time value as string or DateTime object (if format is null), null if column is null, and 0 if column value is 0000-00-00 00:00:00
* @throws PropelException - if unable to parse/validate the date/time value.
*/
publicfunctiongetCreatedAt($format=null)
{
if($this->created_at===null){
returnnull;
}
if($this->created_at==='0000-00-00 00:00:00'){
// while technically this is not a default value of null,
// this seems to be closest in meaning.
returnnull;
}
try{
$dt=newDateTime($this->created_at);
}catch(Exception$x){
thrownewPropelException("Internally stored date/time/timestamp value could not be converted to DateTime: ".var_export($this->created_at,true),$x);
}
if($format===null){
// Because propel.useDateTimeClass is true, we return a DateTime object.
return$dt;
}
if(strpos($format,'%')!==false){
returnstrftime($format,$dt->format('U'));
}
return$dt->format($format);
}
/**
* Get the [optionally formatted] temporal [updated_at] column value.
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is null, then the raw DateTime object will be returned.
* @return mixed Formatted date/time value as string or DateTime object (if format is null), null if column is null, and 0 if column value is 0000-00-00 00:00:00
* @throws PropelException - if unable to parse/validate the date/time value.
*/
publicfunctiongetUpdatedAt($format=null)
{
if($this->updated_at===null){
returnnull;
}
if($this->updated_at==='0000-00-00 00:00:00'){
// while technically this is not a default value of null,
// this seems to be closest in meaning.
returnnull;
}
try{
$dt=newDateTime($this->updated_at);
}catch(Exception$x){
thrownewPropelException("Internally stored date/time/timestamp value could not be converted to DateTime: ".var_export($this->updated_at,true),$x);
}
if($format===null){
// Because propel.useDateTimeClass is true, we return a DateTime object.
return$dt;
}
if(strpos($format,'%')!==false){
returnstrftime($format,$dt->format('U'));
}
return$dt->format($format);
}
/**
* Set the value of [unu_id] column.
*
* @param int $v new value
* @return UsuarioNutrapharm The current object (for fluent API support)
thrownewPropelException("'$name' could not be found in the field names of type '$fromType'. These are: ".print_r(UsuarioNutrapharmPeer::$fieldKeys[$fromType],true));
}
return$toNames[$key];
}
/**
* Returns an array of field names.
*
* @param string $type The type of fieldnames to return:
* One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME
thrownewPropelException('Method getFieldNames() expects the parameter $type to be one of the class constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. '.$type.' was given.');
}
returnUsuarioNutrapharmPeer::$fieldNames[$type];
}
/**
* Convenience method which changes table.column to alias.column.
*
* Using this method you can maintain SQL abstraction while using column aliases.
$e=newPropelException("Invalid value passed to removeInstanceFromPool(). Expected primary key or UsuarioNutrapharm object; got ".(is_object($value)?get_class($value).' object.':var_export($value,true)));
throw$e;
}
unset(UsuarioNutrapharmPeer::$instances[$key]);
}
}// removeInstanceFromPool()
/**
* Retrieves a string version of the primary key from the DB resultset row that can be used to uniquely identify a row in this table.
*
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, a serialize()d version of the primary key will be returned.
*
* @param string $key The key (@see getPrimaryKeyHash()) for this instance.
* @return UsuarioNutrapharm Found object or null if 1) no instance exists for specified key or 2) instance pooling has been disabled.
* @method UsuarioNutrapharmQuery orderByUnuId($order = Criteria::ASC) Order by the unu_id column
* @method UsuarioNutrapharmQuery orderByUnuUa($order = Criteria::ASC) Order by the unu_ua column
* @method UsuarioNutrapharmQuery orderByUnuIp($order = Criteria::ASC) Order by the unu_ip column
* @method UsuarioNutrapharmQuery orderByUnuIdNutrapharm($order = Criteria::ASC) Order by the unu_id_nutrapharm column
* @method UsuarioNutrapharmQuery orderByUnuNombre($order = Criteria::ASC) Order by the unu_nombre column
* @method UsuarioNutrapharmQuery orderByUnuCorreo($order = Criteria::ASC) Order by the unu_correo column
* @method UsuarioNutrapharmQuery orderByUnuPathFotoInicial($order = Criteria::ASC) Order by the unu_path_foto_inicial column
* @method UsuarioNutrapharmQuery orderByUnuComentarioInicial($order = Criteria::ASC) Order by the unu_comentario_inicial column
* @method UsuarioNutrapharmQuery orderByUnuPathFotoFinal($order = Criteria::ASC) Order by the unu_path_foto_final column
* @method UsuarioNutrapharmQuery orderByUnuComentarioFinal($order = Criteria::ASC) Order by the unu_comentario_final column
* @method UsuarioNutrapharmQuery orderByUnuEstado($order = Criteria::ASC) Order by the unu_estado column
* @method UsuarioNutrapharmQuery orderByUnuEliminado($order = Criteria::ASC) Order by the unu_eliminado column
* @method UsuarioNutrapharmQuery orderByCreatedAt($order = Criteria::ASC) Order by the created_at column
* @method UsuarioNutrapharmQuery orderByUpdatedAt($order = Criteria::ASC) Order by the updated_at column
*
* @method UsuarioNutrapharmQuery groupByUnuId() Group by the unu_id column
* @method UsuarioNutrapharmQuery groupByUnuUa() Group by the unu_ua column
* @method UsuarioNutrapharmQuery groupByUnuIp() Group by the unu_ip column
* @method UsuarioNutrapharmQuery groupByUnuIdNutrapharm() Group by the unu_id_nutrapharm column
* @method UsuarioNutrapharmQuery groupByUnuNombre() Group by the unu_nombre column
* @method UsuarioNutrapharmQuery groupByUnuCorreo() Group by the unu_correo column
* @method UsuarioNutrapharmQuery groupByUnuPathFotoInicial() Group by the unu_path_foto_inicial column
* @method UsuarioNutrapharmQuery groupByUnuComentarioInicial() Group by the unu_comentario_inicial column
* @method UsuarioNutrapharmQuery groupByUnuPathFotoFinal() Group by the unu_path_foto_final column
* @method UsuarioNutrapharmQuery groupByUnuComentarioFinal() Group by the unu_comentario_final column
* @method UsuarioNutrapharmQuery groupByUnuEstado() Group by the unu_estado column
* @method UsuarioNutrapharmQuery groupByUnuEliminado() Group by the unu_eliminado column
* @method UsuarioNutrapharmQuery groupByCreatedAt() Group by the created_at column
* @method UsuarioNutrapharmQuery groupByUpdatedAt() Group by the updated_at column
*
* @method UsuarioNutrapharmQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method UsuarioNutrapharmQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
* @method UsuarioNutrapharmQuery innerJoin($relation) Adds a INNER JOIN clause to the query
*
* @method UsuarioNutrapharmQuery leftJoinEnvioCorreoUsuario($relationAlias = null) Adds a LEFT JOIN clause to the query using the EnvioCorreoUsuario relation
* @method UsuarioNutrapharmQuery rightJoinEnvioCorreoUsuario($relationAlias = null) Adds a RIGHT JOIN clause to the query using the EnvioCorreoUsuario relation
* @method UsuarioNutrapharmQuery innerJoinEnvioCorreoUsuario($relationAlias = null) Adds a INNER JOIN clause to the query using the EnvioCorreoUsuario relation
*
* @method UsuarioNutrapharm findOne(PropelPDO $con = null) Return the first UsuarioNutrapharm matching the query
* @method UsuarioNutrapharm findOneOrCreate(PropelPDO $con = null) Return the first UsuarioNutrapharm matching the query, or a new UsuarioNutrapharm object populated from the query conditions when no match is found
*
* @method UsuarioNutrapharm findOneByUnuUa(string $unu_ua) Return the first UsuarioNutrapharm filtered by the unu_ua column
* @method UsuarioNutrapharm findOneByUnuIp(string $unu_ip) Return the first UsuarioNutrapharm filtered by the unu_ip column
* @method UsuarioNutrapharm findOneByUnuIdNutrapharm(string $unu_id_nutrapharm) Return the first UsuarioNutrapharm filtered by the unu_id_nutrapharm column
* @method UsuarioNutrapharm findOneByUnuNombre(string $unu_nombre) Return the first UsuarioNutrapharm filtered by the unu_nombre column
* @method UsuarioNutrapharm findOneByUnuCorreo(string $unu_correo) Return the first UsuarioNutrapharm filtered by the unu_correo column
* @method UsuarioNutrapharm findOneByUnuPathFotoInicial(string $unu_path_foto_inicial) Return the first UsuarioNutrapharm filtered by the unu_path_foto_inicial column
* @method UsuarioNutrapharm findOneByUnuComentarioInicial(string $unu_comentario_inicial) Return the first UsuarioNutrapharm filtered by the unu_comentario_inicial column
* @method UsuarioNutrapharm findOneByUnuPathFotoFinal(string $unu_path_foto_final) Return the first UsuarioNutrapharm filtered by the unu_path_foto_final column
* @method UsuarioNutrapharm findOneByUnuComentarioFinal(string $unu_comentario_final) Return the first UsuarioNutrapharm filtered by the unu_comentario_final column
* @method UsuarioNutrapharm findOneByUnuEstado(int $unu_estado) Return the first UsuarioNutrapharm filtered by the unu_estado column
* @method UsuarioNutrapharm findOneByUnuEliminado(int $unu_eliminado) Return the first UsuarioNutrapharm filtered by the unu_eliminado column
* @method UsuarioNutrapharm findOneByCreatedAt(string $created_at) Return the first UsuarioNutrapharm filtered by the created_at column
* @method UsuarioNutrapharm findOneByUpdatedAt(string $updated_at) Return the first UsuarioNutrapharm filtered by the updated_at column
*
* @method array findByUnuId(int $unu_id) Return UsuarioNutrapharm objects filtered by the unu_id column
* @method array findByUnuUa(string $unu_ua) Return UsuarioNutrapharm objects filtered by the unu_ua column
* @method array findByUnuIp(string $unu_ip) Return UsuarioNutrapharm objects filtered by the unu_ip column
* @method array findByUnuIdNutrapharm(string $unu_id_nutrapharm) Return UsuarioNutrapharm objects filtered by the unu_id_nutrapharm column
* @method array findByUnuNombre(string $unu_nombre) Return UsuarioNutrapharm objects filtered by the unu_nombre column
* @method array findByUnuCorreo(string $unu_correo) Return UsuarioNutrapharm objects filtered by the unu_correo column
* @method array findByUnuPathFotoInicial(string $unu_path_foto_inicial) Return UsuarioNutrapharm objects filtered by the unu_path_foto_inicial column
* @method array findByUnuComentarioInicial(string $unu_comentario_inicial) Return UsuarioNutrapharm objects filtered by the unu_comentario_inicial column
* @method array findByUnuPathFotoFinal(string $unu_path_foto_final) Return UsuarioNutrapharm objects filtered by the unu_path_foto_final column
* @method array findByUnuComentarioFinal(string $unu_comentario_final) Return UsuarioNutrapharm objects filtered by the unu_comentario_final column
* @method array findByUnuEstado(int $unu_estado) Return UsuarioNutrapharm objects filtered by the unu_estado column
* @method array findByUnuEliminado(int $unu_eliminado) Return UsuarioNutrapharm objects filtered by the unu_eliminado column
* @method array findByCreatedAt(string $created_at) Return UsuarioNutrapharm objects filtered by the created_at column
* @method array findByUpdatedAt(string $updated_at) Return UsuarioNutrapharm objects filtered by the updated_at column