title: Can a static class extend a non-static class and access its methods?
body: <p>I have a class that acts as a wrapper to Smarty but want to use it statically across my application.</p>
  
  <p>My setup looks something like this:</p>
  
  <pre><code>class Template extends Smarty {
  
      public function __constructor() {
  
           parent::__constructor();
      }
  
      public function setSettings() {
  
           $this-&gt; some smarty settings here
      }
  
      public static function loadTpl($tpl) {
  
           self::$tplFile = $tpl;
  
           // other logic
  
           self::setSettings(); // this won't get executed because it uses non static method calls.
      }
  }
  </code></pre>
  
  <p>How can I get around this?</p>