Jump to content

Hook "\IPS\core\FrontNavigation\FrontNavigationAbstract"


Heitchel

Recommended Posts

Hi guys,

I'm trying to hook "\IPS\core\FrontNavigation\FrontNavigationAbstract" through a plugin so it can return a value of the protected array '$configuration'.

Unfortunately below code doesn't work:

<hook type="C" class="\IPS\core\FrontNavigation\FrontNavigationAbstract" filename="FrontNavigationAbstractHook"><![CDATA[//<?php

class hook128 extends _HOOK_CLASS_
{
    public function getConfiguration ( )
    {
        return $this->configuration;
    }

<hook type="C" class="\IPS\core\FrontNavigation\FrontNavigationAbstract" filename="FrontNavigationAbstractHook"><![CDATA[//<?php

class hook128 extends _HOOK_CLASS_
{
	public function getConfiguration ( )
	{
		return $this->configuration;
	}

}]]></hook>

 

Any idea what I can achieve this?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...