title: How to get current module object from model in Yii2
body: <p>I have module <code>ticket</code>.</p>
  
  <p>Module class has propery <code>UserClassName</code> (string).</p>
  
  <p>In this module I have model called <code>Dialog</code>.</p>
  
  <p>Within this model, I want to get access to the module property <code>UserClassName</code>.</p>
  
  <p>How I can get module object from my model <code>Dialog</code>?</p>
  
  <p>P.S. From controllers I can do next: <code>$this-&gt;module</code>.</p>