applications/skeleton/controllers/class.skeletoncontroller.php
public function Initialize() {
      // There are 4 delivery types used by Render().
      // DELIVERY_TYPE_ALL is the default and indicates an entire page view.
      if ($this->DeliveryType() == DELIVERY_TYPE_ALL)
         $this->Head = new HeadModule($this);
         
      // Call Gdn_Controller's Initialize() as well.
      parent::Initialize();
   }
public function Initialize() {
      // There are 4 delivery types used by Render().
      // DELIVERY_TYPE_ALL is the default and indicates an entire page view.
      if ($this->DeliveryType() == DELIVERY_TYPE_ALL)
         $this->Head = new HeadModule($this);
         
      // Call Gdn_Controller's Initialize() as well.
      parent::Initialize();
   }
public function Initialize ( ) { // There are 4 delivery types used by Render(). // DELIVERY_TYPE_ALL is the default and indicates an entire page view. if ( $ this -> DeliveryType ( ) == DELIVERY_TYPE_ALL ) $ this -> Head = new HeadModule ( $ this ) ; // Call Gdn_Controller's Initialize() as well. parent :: Initialize ( ) ; }
This is a good place to include JS, CSS, and modules used by all methods of this controller.

Always called by dispatcher before controller's requested method.

@since 1.0
@access public
This is a good place to include JS CSS and modules used by all methods of this controller .