title: Kohana framework. Kohana class question
body: <p>I'm looking at Kohana framework and trying to go through the code to better understand how framework works.</p>
  
  <p>So - from index.php we load:</p>
  
  <pre><code>require SYSPATH.'base'.EXT;
  require SYSPATH.'classes/kohana/core'.EXT;
  require APPPATH.'bootstrap'.EXT;
  </code></pre>
  
  <p>In core.php file we do the following:</p>
  
  <pre><code>public static $environment = Kohana::DEVELOPMENT;
  </code></pre>
  
  <p>What to we refer to by calling Kohana::DEVELOPMENT?
  From what I understand - by using :: we should be getting static constant from kohana class. - right? But at that moment in the code there is no Kohana class loaded that I could find.
  So - can someone explain what's going on here:) ?
  Thanks</p>
  
  <p><strong>RESOLUTION:</strong></p>
  
  <p>never mind. I didn't follow the code far enough. Kohana class extends Kohana_Core class. mmm.  too bad there is no way to delete dumb questions from StackOverflow.</p>