MenuModule::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( string $Sender = '' )
$Sender string
        public function __construct($Sender = '')
        {
            $this->HtmlId = 'Menu';
            $this->ClearGroups();
            parent::__construct($Sender);
        }

Usage Example

예제 #1
0
 public function __construct($Sender = '', $ApplicationFolder = False)
 {
     //Deprecated('BreadCrumbsModule', 'Controller::SetData("Breadcrumbs")');
     parent::__construct($Sender, $ApplicationFolder);
     $this->HtmlId = 'BreadCrumbs';
     //if (is_object($Sender)) $this->Controller =& $Sender;
     //else $this->Controller = GetValueR('EventArguments.Controller', Gdn::Dispatcher());
 }