PHP | /home/visaspb/lib/ActiveRecord.php, line 325 |
---|---|
URI | GET /catalogue/country/562/ |
Arg | Name | Value |
---|---|---|
0 | $keys |
array ( |
// Set column info
$this->set_table_info();
if ($key === null) {
$this->setDefaultAttributes();
} else {
$this->reload($key);
}
}
protected function init()
{
Arg | Name | Value |
---|---|---|
0 | $user |
Visitor::__set_state(array( |
1 | $key |
array ( |
protected $table_renames;
public function __construct(User $user, array $table_renames, array $key = null)
{
$this->table_renames = $table_renames;
parent::__construct($user, $key);
}
protected function init()
{
if (null === self::$inflector) {
Arg | Name | Value |
---|---|---|
0 | $user |
Visitor::__set_state(array( |
1 | $table_renames |
array ( |
2 | $key |
array ( |
if (is_subclass_of($obj_name, 'RenamedActiveRecord')) {
if ($keys === null)
return new $obj_name($this->user, $this->table_names);
else
return new $obj_name($this->user, $this->table_names, $keys);
} elseif (is_subclass_of($obj_name, 'ActiveRecord')) {
if ($keys === null)
return new $obj_name($this->user);
else
return new $obj_name($this->user, $keys);
Arg | Name | Value |
---|---|---|
0 | $obj_name |
'GalleryFolder'
|
1 | $keys |
'562'
|
$obj_id = $get['id'];
} else {
throw new Exception('Этогонеможетбытьпотомучтонеможетбытьникогда');
}
$obj = $this->initObj('GalleryFolder', $obj_id);
$result['element'] = array(
'id' => $obj->id,
'name' => $obj->name,
'text' => $obj->text,
'created' => $obj->created,
Arg | Name | Value |
---|---|---|
0 | $get |
array ( |
1 | $parsed_path |
array ( |
2 | $additional_path |
array ( |
$parseget = $controller->parseGet(
(array_key_exists($c_instance->name, $this->get_vars) ? $this->get_vars[$c_instance->name] : array()),
$this->resolved_path,
$this->additional_path
);
if (is_null($parseget) || !is_array($parseget))
throw new InvalidArgumentException('Метод parseGet должен возвращать массив переменных');
$parseget['execution_time'] = microtime(true) - $c_time;
$this->parseGet();
switch ($_SERVER["REQUEST_METHOD"]) {
case 'GET':
$this->runGet();
break;
case 'POST':
$this->parsePost();
$this->parseFiles();
bebop_include("bebop_autoload.php");
bebop_include("QueryBuilder/autoload.php");
bebop_include("bebop_functions.php");
try {
$me = new RequestController();
} catch (UnauthorizedException $e) {
if (array_key_exists('HTTPS', $_SERVER) and $_SERVER['HTTPS'] == 'on') {
$url1 = $url2 = 'https://';
} else {
$url1 = $url2 = 'http://';
No data
No data
Variable | Value |
---|---|
bebop_session_4d5c8427 |
'h3ar9306rc3qsuc4crdchi6pu7'
|
Variable | Value |
---|---|
USER |
'visaspb'
|
HOME |
'/home/visaspb'
|
FCGI_ROLE |
'RESPONDER'
|
SCRIPT_FILENAME |
'/home/visaspb/public_html/handler.php'
|
QUERY_STRING |
''
|
REQUEST_METHOD |
'GET'
|
CONTENT_TYPE |
''
|
CONTENT_LENGTH |
''
|
SCRIPT_NAME |
'/handler.php'
|
REQUEST_URI |
'/catalogue/country/562/'
|
DOCUMENT_URI |
'/handler.php'
|
DOCUMENT_ROOT |
'/home/visaspb/public_html'
|
SERVER_PROTOCOL |
'HTTP/1.1'
|
HTTPS |
'on'
|
GATEWAY_INTERFACE |
'CGI/1.1'
|
SERVER_SOFTWARE |
'nginx/1.8.0'
|
REMOTE_ADDR |
'3.149.232.87'
|
REMOTE_PORT |
'52989'
|
SERVER_ADDR |
'89.253.223.120'
|
SERVER_PORT |
'443'
|
SERVER_NAME |
'www.visa-spb.ru'
|
REDIRECT_STATUS |
'200'
|
HTTP_ACCEPT |
'*/*'
|
HTTP_USER_AGENT |
'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
|
HTTP_ACCEPT_ENCODING |
'gzip, br, zstd, deflate'
|
HTTP_REFERER |
'https://visa-spb.ru/catalogue/country/562'
|
HTTP_COOKIE |
'bebop_session_4d5c8427=h3ar9306rc3qsuc4crdchi6pu7'
|
HTTP_HOST |
'visa-spb.ru'
|
PHP_SELF |
'/handler.php'
|
REQUEST_TIME_FLOAT |
1732363599.6725321
|
REQUEST_TIME |
1732363599
|
No data
X-Powered-By: PHP/5.4.35
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache