PHP | /home/weblibs/Zend-1.12.3/Zend/Db/Adapter/Pdo/Abstract.php, line 144 |
---|---|
URI | GET /actual/agenda/lang/ca/zona/Palma/date/07-02-2019 |
if (!empty($this->_config['charset'])) {
$initCommand = "SET NAMES '" . $this->_config['charset'] . "'";
$this->_config['driver_options'][1002] = $initCommand; // 1002 = PDO::MYSQL_ATTR_INIT_COMMAND
}
parent::_connect();
}
/**
* @return string
*/
* @return Zend_Db_Statement_Interface
*/
public function query($sql, $bind = array())
{
// connect to the database if needed
$this->_connect();
// is the $sql a Zend_Db_Select object?
if ($sql instanceof Zend_Db_Select) {
if (empty($bind)) {
$bind = $sql->getBind();
Arg | Name | Value |
---|---|---|
0 | $sql |
'DESCRIBE `v_obrasocial_footer`'
|
1 | $bind |
array ( |
}
}
}
try {
return parent::query($sql, $bind);
} catch (PDOException $e) {
/**
* @see Zend_Db_Statement_Exception
*/
require_once 'Zend/Db/Statement/Exception.php';
Arg | Name | Value |
---|---|---|
0 | $sql |
'DESCRIBE `v_obrasocial_footer`'
|
if ($schemaName) {
$sql = 'DESCRIBE ' . $this->quoteIdentifier("$schemaName.$tableName", true);
} else {
$sql = 'DESCRIBE ' . $this->quoteIdentifier($tableName, true);
}
$stmt = $this->query($sql);
// Use FETCH_NUM so we are not dependent on the CASE attribute of the PDO connection
$result = $stmt->fetchAll(Zend_Db::FETCH_NUM);
$field = 0;
Arg | Name | Value |
---|---|---|
0 | $tableName |
'v_obrasocial_footer'
|
1 | $schemaName |
NULL
|
// If $this has no metadata cache or metadata cache misses
if (null === $this->_metadataCache || !($metadata = $this->_metadataCache->load($cacheId))) {
// Metadata are not loaded from cache
$isMetadataFromCache = false;
// Fetch metadata from the adapter's describeTable() method
$metadata = $this->_db->describeTable($this->_name, $this->_schema);
// If $this has a metadata cache, then cache the metadata
if (null !== $this->_metadataCache && !$this->_metadataCache->save($metadata, $cacheId)) {
trigger_error('Failed saving metadata to metadataCache', E_USER_NOTICE);
}
}
* @return array
*/
protected function _getCols()
{
if (null === $this->_cols) {
$this->_setupMetadata();
$this->_cols = array_keys($this->_metadata);
}
return $this->_cols;
}
} else if (isset($this->_primary[0])) {
array_unshift($this->_primary, null);
unset($this->_primary[0]);
}
$cols = $this->_getCols();
if (! array_intersect((array) $this->_primary, $cols) == (array) $this->_primary) {
require_once 'Zend/Db/Table/Exception.php';
throw new Zend_Db_Table_Exception("Primary key column(s) ("
. implode(',', (array) $this->_primary)
. ") are not columns in this table ("
* @return mixed
* @throws Zend_Db_Table_Exception
*/
public function info($key = null)
{
$this->_setupPrimaryKey();
$info = array(
self::SCHEMA => $this->_schema,
self::NAME => $this->_name,
self::COLS => $this->_getCols(),
* @return Zend_Db_Select This Zend_Db_Select object.
*/
public function setTable(Zend_Db_Table_Abstract $table)
{
$this->_adapter = $table->getAdapter();
$this->_info = $table->info();
$this->_table = $table;
return $this;
}
Arg | Name | Value |
---|---|---|
0 | $table |
View_ObrasocialFooter::__set_state(array( |
*/
public function __construct(Zend_Db_Table_Abstract $table)
{
parent::__construct($table->getAdapter());
$this->setTable($table);
}
/**
* Return the table that created this select object
*
Arg | Name | Value |
---|---|---|
0 | $table |
View_ObrasocialFooter::__set_state(array( |
* @return Zend_Db_Table_Select
*/
public function select($withFromPart = self::SELECT_WITHOUT_FROM_PART)
{
require_once 'Zend/Db/Table/Select.php';
$select = new Zend_Db_Table_Select($this);
if ($withFromPart == self::SELECT_WITH_FROM_PART) {
$select->from($this->info(self::NAME), Zend_Db_Table_Select::SQL_WILDCARD, $this->info(self::SCHEMA));
}
return $select;
}
* @return Zend_Db_Table_Rowset_Abstract The row results per the Zend_Db_Adapter fetch mode.
*/
public function fetchAll($where = null, $order = null, $count = null, $offset = null)
{
if (!($where instanceof Zend_Db_Table_Select)) {
$select = $this->select();
if ($where !== null) {
$this->_where($select, $where);
}
// Default exception handler for non captured exceptions (only loaded in exceptions are thrown)
require_once ROOT_DIR . '/library/DefaultExceptionHandler.php';
set_exception_handler('DefaultExceptionHandler');
}
// Check Zend Framework version (skip if ENV_MAINTENANCE)
$classResources = $this->getClassResources();
if (array_key_exists($resourceName, $classResources)) {
$this->_started[$resourceName] = true;
$method = $classResources[$resourceName];
$return = $this->$method();
unset($this->_started[$resourceName]);
$this->_markRun($resourceName);
if (null !== $return) {
$this->getContainer()->{$resourceName} = $return;
Arg | Name | Value |
---|---|---|
0 | $resource |
'config'
|
*/
protected function _bootstrap($resource = null)
{
if (null === $resource) {
foreach ($this->getClassResourceNames() as $resource) {
$this->_executeResource($resource);
}
foreach ($this->getPluginResourceNames() as $resource) {
$this->_executeResource($resource);
}
Arg | Name | Value |
---|---|---|
0 | $resource |
NULL
|
* @return Zend_Application_Bootstrap_BootstrapAbstract
* @throws Zend_Application_Bootstrap_Exception When invalid argument was passed
*/
final public function bootstrap($resource = null)
{
$this->_bootstrap($resource);
return $this;
}
/**
* Overloading: intercept calls to bootstrap<resourcename>() methods
Arg | Name | Value |
---|---|---|
0 | $resource |
NULL
|
* @param null|string|array $resource
* @return Zend_Application
*/
public function bootstrap($resource = null)
{
$this->getBootstrap()->bootstrap($resource);
return $this;
}
/**
* Run the application
// Zend_Application
require_once 'Zend/Application.php';
// Create application, bootstrap, and run
$application = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini');
$application->bootstrap()->run();
User-Agent: CCBot/2.0 (https://commoncrawl.org/faq/)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Host: obrasocialsanostra.com
Connection: Keep-Alive
Accept-Encoding: gzip
No data
No data
No data
Variable | Value |
---|---|
REDIRECT_APPLICATION_ENV |
'production'
|
REDIRECT_ZEND_FRAMEWORK_PATH |
'/home/weblibs/Zend-1.12.3'
|
REDIRECT_PHPLIVEDOCX_PATH |
'/home/weblibs/phpLiveDocX'
|
REDIRECT_STATUS |
'200'
|
APPLICATION_ENV |
'production'
|
ZEND_FRAMEWORK_PATH |
'/home/weblibs/Zend-1.12.3'
|
PHPLIVEDOCX_PATH |
'/home/weblibs/phpLiveDocX'
|
HTTP_USER_AGENT |
'CCBot/2.0 (https://commoncrawl.org/faq/)'
|
HTTP_ACCEPT |
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
|
HTTP_HOST |
'obrasocialsanostra.com'
|
HTTP_CONNECTION |
'Keep-Alive'
|
HTTP_ACCEPT_ENCODING |
'gzip'
|
PATH |
'/usr/local/bin:/usr/bin:/bin'
|
SERVER_SIGNATURE |
'<address>Apache/2.2.16 (Debian) Server at obrasocialsanostra.com Port 80</address>
'
|
SERVER_SOFTWARE |
'Apache/2.2.16 (Debian)'
|
SERVER_NAME |
'obrasocialsanostra.com'
|
SERVER_ADDR |
'188.165.132.135'
|
SERVER_PORT |
'80'
|
REMOTE_ADDR |
'54.146.227.92'
|
DOCUMENT_ROOT |
'/home/jailsanostra/home/sanostra/public'
|
SERVER_ADMIN |
'[no address given]'
|
SCRIPT_FILENAME |
'/home/jailsanostra/home/sanostra/public/index.php'
|
REMOTE_PORT |
'58148'
|
REDIRECT_URL |
'/actual/agenda/lang/ca/zona/Palma/date/07-02-2019'
|
GATEWAY_INTERFACE |
'CGI/1.1'
|
SERVER_PROTOCOL |
'HTTP/1.1'
|
REQUEST_METHOD |
'GET'
|
QUERY_STRING |
''
|
REQUEST_URI |
'/actual/agenda/lang/ca/zona/Palma/date/07-02-2019'
|
SCRIPT_NAME |
'/index.php'
|
PHP_SELF |
'/index.php'
|
REQUEST_TIME |
1550985909
|
argv |
array (
)
|
argc |
0
|
No data
X-Powered-By: PHP/5.3.3-7+squeeze29
Content-type: text/html