sprintf('Configured default timezone "%s" must be supported by your installation of PHP',@date_default_timezone_get()),
'Your default timezone is not supported by PHP. Check for typos in your <strong>php.ini</strong> file and have a look at the list of deprecated timezones at <a href="http://php.net/manual/en/timezones.others.php">http://php.net/manual/en/timezones.others.php</a>.'
);
...
...
@@ -633,12 +626,6 @@ class SymfonyRequirements extends RequirementCollection
'Install and enable the <strong>mbstring</strong> extension.'
);
$this->addRecommendation(
function_exists('iconv'),
'iconv() should be available',
'Install and enable the <strong>iconv</strong> extension.'
);
$this->addRecommendation(
function_exists('utf8_decode'),
'utf8_decode() should be available',
...
...
@@ -737,7 +724,7 @@ class SymfonyRequirements extends RequirementCollection
'Install and/or enable a <strong>PHP accelerator</strong> (highly recommended).'
);
if(strtoupper(substr(PHP_OS,0,3))==='WIN'){
if('WIN'===strtoupper(substr(PHP_OS,0,3))){
$this->addRecommendation(
$this->getRealpathCacheSize()>=5*1024*1024,
'realpath_cache_size should be at least 5M in php.ini',
...
...
@@ -780,7 +767,11 @@ class SymfonyRequirements extends RequirementCollection
* Instance provides a convenient way of calling static methods on a class
* that calling code may not be able to identify.
* @var RespuestasSmsPeer
*/
protectedstatic$peer;
/**
* The flag var to prevent infinite loop in deep copy
* @var boolean
*/
protected$startCopy=false;
/**
* The value for the res_id field.
* @var int
*/
protected$res_id;
/**
* The value for the res_proveedor_sms field.
* @var int
*/
protected$res_proveedor_sms;
/**
* The value for the res_emisor field.
* @var int
*/
protected$res_emisor;
/**
* The value for the res_mensaje field.
* @var string
*/
protected$res_mensaje;
/**
* The value for the res_http_code_respuesta_peticion field.
* @var int
*/
protected$res_http_code_respuesta_peticion;
/**
* The value for the created_at field.
* Note: this column has a database default value of: (expression) CURRENT_TIMESTAMP
* @var string
*/
protected$created_at;
/**
* The value for the updated_at field.
* Note: this column has a database default value of: NULL
* @var string
*/
protected$updated_at;
/**
* 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;
/**
* Applies default values to this object.
* This method should be called from the object's constructor (or
* equivalent initialization method).
* @see __construct()
*/
publicfunctionapplyDefaultValues()
{
$this->updated_at=NULL;
}
/**
* Initializes internal state of BaseRespuestasSms object.
* @see applyDefaults()
*/
publicfunction__construct()
{
parent::__construct();
$this->applyDefaultValues();
}
/**
* Get the [res_id] column value.
*
* @return int
*/
publicfunctiongetResId()
{
return$this->res_id;
}
/**
* Get the [res_proveedor_sms] column value.
*
* @return int
*/
publicfunctiongetResProveedorSms()
{
return$this->res_proveedor_sms;
}
/**
* Get the [res_emisor] column value.
*
* @return int
*/
publicfunctiongetResEmisor()
{
return$this->res_emisor;
}
/**
* Get the [res_mensaje] column value.
*
* @return string
*/
publicfunctiongetResMensaje()
{
return$this->res_mensaje;
}
/**
* Get the [res_http_code_respuesta_peticion] column value.
*
* @return int
*/
publicfunctiongetResHttpCodeRespuestaPeticion()
{
return$this->res_http_code_respuesta_peticion;
}
/**
* 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 [res_id] column.
*
* @param int $v new value
* @return RespuestasSms The current object (for fluent API support)
thrownewPropelException("'$name' could not be found in the field names of type '$fromType'. These are: ".print_r(RespuestasSmsPeer::$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.');
}
returnRespuestasSmsPeer::$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 RespuestasSms object; got ".(is_object($value)?get_class($value).' object.':var_export($value,true)));
throw$e;
}
unset(RespuestasSmsPeer::$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 RespuestasSms Found object or null if 1) no instance exists for specified key or 2) instance pooling has been disabled.
* @method RespuestasSmsQuery orderByResId($order = Criteria::ASC) Order by the res_id column
* @method RespuestasSmsQuery orderByResProveedorSms($order = Criteria::ASC) Order by the res_proveedor_sms column
* @method RespuestasSmsQuery orderByResEmisor($order = Criteria::ASC) Order by the res_emisor column
* @method RespuestasSmsQuery orderByResMensaje($order = Criteria::ASC) Order by the res_mensaje column
* @method RespuestasSmsQuery orderByResHttpCodeRespuestaPeticion($order = Criteria::ASC) Order by the res_http_code_respuesta_peticion column
* @method RespuestasSmsQuery orderByCreatedAt($order = Criteria::ASC) Order by the created_at column
* @method RespuestasSmsQuery orderByUpdatedAt($order = Criteria::ASC) Order by the updated_at column
*
* @method RespuestasSmsQuery groupByResId() Group by the res_id column
* @method RespuestasSmsQuery groupByResProveedorSms() Group by the res_proveedor_sms column
* @method RespuestasSmsQuery groupByResEmisor() Group by the res_emisor column
* @method RespuestasSmsQuery groupByResMensaje() Group by the res_mensaje column
* @method RespuestasSmsQuery groupByResHttpCodeRespuestaPeticion() Group by the res_http_code_respuesta_peticion column
* @method RespuestasSmsQuery groupByCreatedAt() Group by the created_at column
* @method RespuestasSmsQuery groupByUpdatedAt() Group by the updated_at column
*
* @method RespuestasSmsQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method RespuestasSmsQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
* @method RespuestasSmsQuery innerJoin($relation) Adds a INNER JOIN clause to the query
*
* @method RespuestasSms findOne(PropelPDO $con = null) Return the first RespuestasSms matching the query
* @method RespuestasSms findOneOrCreate(PropelPDO $con = null) Return the first RespuestasSms matching the query, or a new RespuestasSms object populated from the query conditions when no match is found
*
* @method RespuestasSms findOneByResProveedorSms(int $res_proveedor_sms) Return the first RespuestasSms filtered by the res_proveedor_sms column
* @method RespuestasSms findOneByResEmisor(int $res_emisor) Return the first RespuestasSms filtered by the res_emisor column
* @method RespuestasSms findOneByResMensaje(string $res_mensaje) Return the first RespuestasSms filtered by the res_mensaje column
* @method RespuestasSms findOneByResHttpCodeRespuestaPeticion(int $res_http_code_respuesta_peticion) Return the first RespuestasSms filtered by the res_http_code_respuesta_peticion column
* @method RespuestasSms findOneByCreatedAt(string $created_at) Return the first RespuestasSms filtered by the created_at column
* @method RespuestasSms findOneByUpdatedAt(string $updated_at) Return the first RespuestasSms filtered by the updated_at column
*
* @method array findByResId(int $res_id) Return RespuestasSms objects filtered by the res_id column
* @method array findByResProveedorSms(int $res_proveedor_sms) Return RespuestasSms objects filtered by the res_proveedor_sms column
* @method array findByResEmisor(int $res_emisor) Return RespuestasSms objects filtered by the res_emisor column
* @method array findByResMensaje(string $res_mensaje) Return RespuestasSms objects filtered by the res_mensaje column
* @method array findByResHttpCodeRespuestaPeticion(int $res_http_code_respuesta_peticion) Return RespuestasSms objects filtered by the res_http_code_respuesta_peticion column
* @method array findByCreatedAt(string $created_at) Return RespuestasSms objects filtered by the created_at column
* @method array findByUpdatedAt(string $updated_at) Return RespuestasSms objects filtered by the updated_at column
<imgsrc="bundles/framework/images/grey_magnifier.png"alt="Search on Symfony website"/>
<imgsrc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAABUElEQVQoz2NgAIJ29iBdD0d7X2cPb+tY2f9MDMjgP2O2hKu7vS8CBlisZUNSMJ3fxRMkXO61wm2ue6I3iB1q8Z8ZriDZFCS03fm/wX+1/xp/TBo8QPxeqf+MUAW+QIFKj/+q/wX/c/3n/i/6Qd/bx943z/Q/K1SBI1D9fKv/AhCn/Wf5L5EHdFGKw39OqAIXoPpOMziX4T9/DFBBnuN/HqhAEtCKCNf/XDA/rZRyAmrpsvrPDVUw3wrkqCiLaewg6TohX1d7X0ffs5r/OaAKfinmgt3t4ulr4+Xg4ANip3j+l/zPArNT4LNOD0pAgWCSOUIBy3+h/+pXbBa5tni0eMx23+/mB1YSYnENroT5Pw/QSOX/mkCo+l/jgo0v2KJA643s8PgAmsMBDCbu/5xALHPB2husxN9uCzsDOgAq5kAoaZVnYMCh5Ky1r88Eh/+iABM8jUk7ClYIAAAAAElFTkSuQmCC"alt="Search on Symfony website"/>
</label>
<inputname="q"id="search-id"type="search"placeholder="Search on Symfony website"/>