Dumped Contents
In
CatalogController.php
line 80:
//dump($path);
//content path
$content = $c_serv->get_seo_content($path);
if($content)dump($content->getId() . ': ' . $content->getShortTitle());
//check template exist
"2354: Государственный знак качества СССР"
In
CatalogController.php
line 85:
//check template exist
$template_hook = $c_serv->check_template_hook($path);
dump('hook: ' . $template_hook);
if ($template_hook) {
//redirect trailing slash
if (substr($path, -1) != '/') return $this->redirectToRoute('store_seo', ['path' => $path . '/'], 301);
"hook: "
In
CatalogController.php
line 133:
}
$template = $c_serv->get_template_name($content);
dump('view type: ' . $template);
return $this->render('@Store/content/view/' . $template . '.html.twig', [
'content' => $content,
'filters' => [],
"view type: default"
In
TwigChildren.php
line 100:
public function get_childrens($content_id, $type_name, $recursive = false)
{
dump('GC: ' . $content_id . ' / ' . $type_name . ' / ' . $recursive);
//$sort_root = false;
$pseudo_id = $type_name . $content_id;
if (array_key_exists($pseudo_id, $this->chidrens)) return $this->chidrens[$pseudo_id];
"GC: 1488 / wiki_category / "
In
TwigChildren.php
line 100:
public function get_childrens($content_id, $type_name, $recursive = false)
{
dump('GC: ' . $content_id . ' / ' . $type_name . ' / ' . $recursive);
//$sort_root = false;
$pseudo_id = $type_name . $content_id;
if (array_key_exists($pseudo_id, $this->chidrens)) return $this->chidrens[$pseudo_id];
"GC: 1488 / wiki_category / "