R

Extend a class and nothing happens?

  • Thread starter Thread starter Robert9
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
R

Robert9

Guest

Are there classes, i can not extend?
How can I check if a class is extended?

Real world example:

XML:
Code:
<?xml version="1.0" encoding="utf-8"?>
<class_extensions>
  <extension from_class="XF\ForumType\AbstractHandler" to_class="Xencafe\Lala\XF\ForumType\AbstractHandler" execute_order="1000" active="1"/>
 </class_extensions>

Code:
Code:
<?php
namespace Xencafe\Lala\XF\ForumType;

use XF\Entity\Forum;

class AbstractHandler extends XFCP_AbstractHandler
{
    public function...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top Bottom