$list = $model->getItems();
$total = count($list);//$model->getTotal();
$pagination = $model->getPagination();
// search filter
$lists['search']= $search;
// category filter
$category_options = $categories->getOptionList('- '.JText::_('COM_DJCATALOG2_SELECT_CATEGORY').' -');
if ($filter_catid > 0 && (int)$params->get('category_filter_type', '0') > 0) {
$category_path = $category->getPath();
if (count($category_path) > 0) {
$parent_category = null;
$parent_id = 0;
if ($params->get('category_filter_type', '1') == '1' || count($category_path) == 1) {
//$parent_category = $categories->get((int)end($category_path));
$parent_id = ($mCatid == 0 && count($category_path) == 1) ? 0 : (int)end($category_path);
} else if ($params->get('category_filter_type', '1') == '2') {
$parent_id = ($mCatid == 0) ? $mCatid : ((int)end($category_path) == $category->id) ? $category->id : $category->parent_id;
} else {
$parent_id = ((int)$mCatid > 0) ? 0 : (int)$category_path[1];
}
$parent_category = $categories->get($parent_id);
if ($parent_category) {
$childrenList = array($parent_category->id);
$parent_category->makeChildrenList($childrenList);
foreach ($category_options as $key => $option) {
if (!in_array($option->value, $childrenList)) {
unset($category_options[$key]);
}
if ($option->value == $parent_category->id) {
$category_options[$key]->text = ($parent_category->id == $filter_catid || (int)$option->value == 0) ? '- '.JText::_('COM_DJCATALOG2_SELECT_CATEGORY').' -' : '- '.JText::_('COM_DJCATALOG2_SELECT_CATEGORY_LEVEL_UP').' -';
}
}
}
}
}
*
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param Throwable $exception
*
* @return Inspector
*/
private function getInspector($exception)
{
return new Inspector($exception);
}
/**
* Resolves the giving handler.
*
* @param callable|HandlerInterface $handler
*
* @return HandlerInterface
}
// Propagate error to the next handler.
if ($this->platformExceptionHandler) {
call_user_func_array($this->platformExceptionHandler, [&$exception]);
}
}
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
$handler = $this->whoopsShutdownHandler;
$error = $this->getLastError();
// Ignore core warnings and errors.
if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
$handler();
}
}
}
Key | Value |
ind | l |
Key | Value |
joomla | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTcxMTU2ODtzOjQ6Imxhc3QiO2k6MTcxMTcxMTU2ODtzOjM6Im5vdyI7aToxNzExNzExNTY4O31zOjU6InRva2VuIjtzOjMyOiJzUXN0ZUp3dXhIMTRzWFhIZ25uSjJQSUN4cWhCVzNrbSI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9czo0OiJ1c2VyIjtPOjIwOiJKb29tbGFcQ01TXFVzZXJcVXNlciI6MTp7czoyOiJpZCI7aTowO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ== |
Key | Value |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
TEMP | /var/www/clients/client81/web169/tmp |
TMPDIR | /var/www/clients/client81/web169/tmp |
TMP | /var/www/clients/client81/web169/tmp |
HOSTNAME | |
USER | web169 |
HOME | /var/www/clients/client81/web169 |
SCRIPT_NAME | /index.php |
REQUEST_URI | /berelheto-munkagepek?ind=l |
QUERY_STRING | ind=l |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | ind=l |
REDIRECT_URL | /berelheto-munkagepek |
REMOTE_PORT | 47314 |
SCRIPT_FILENAME | /var/www/clients/client81/web169/web/index.php |
SERVER_ADMIN | webmaster@roadservice.ro |
CONTEXT_DOCUMENT_ROOT | /var/www/clients/client81/web169/web |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /var/www/clients/client81/web169/web |
REMOTE_ADDR | 18.212.242.203 |
SERVER_PORT | 443 |
SERVER_ADDR | 46.214.109.126 |
SERVER_NAME | roadservice.ro |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | |
HTTP_HOST | roadservice.ro |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
proxy-nokeepalive | 1 |
SSL_TLS_SNI | roadservice.ro |
HTTPS | on |
HTTP_AUTHORIZATION | |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | roadservice.ro |
REDIRECT_HTTPS | on |
REDIRECT_HTTP_AUTHORIZATION | |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711568.9652 |
REQUEST_TIME | 1711711568 |