public function __construct($parent, $name, $lang = NULL) { parent::__construct($parent, $name); $this->lang = $lang; $this->renderer = new Rendering\PageMenuRenderer(); $this->cachingEnabled = TRUE; }
public function __construct($context, $treeNodeId, $data = NULL, $entityName = 'page') { parent::__construct(); $this->context = $context; $this->entityName = $entityName; $this->treeNodeId = $treeNodeId; $this->connection = $context->database; $this->entityConfigFilePath = CONFIG_DIR . '/pages/entities/page.neon'; $this->data = $data; // init loading state $this->loadedGroups = array(); $this->loadingState = self::NOT_LOADED; return $this; }
public function __construct($parent, $name) { parent::__construct($parent, $name); }
public function __construct($parent, $name) { parent::__construct($parent, $name); $this->contextMenuListenerId = \Nette\Utils\Strings::webalize($name) . '-context-menu-listener'; }