public function register_utils() { if (!$this->is_section_loaded(self::TOOLSET_AUTOLOADER)) { // This needs to happen very very early require_once TOOLSET_COMMON_PATH . '/utility/autoloader.php'; Toolset_Common_Autoloader::initialize(); $this->add_section_loaded(self::TOOLSET_AUTOLOADER); } if (!$this->is_section_loaded(self::TOOLSET_UTILS)) { $this->add_section_loaded(self::TOOLSET_UTILS); require_once TOOLSET_COMMON_PATH . '/utility/utils.php'; } // Although this is full of DDL prefixes, we need to actually port before using it. if (!$this->is_section_loaded(self::TOOLSET_DIALOGS)) { $this->add_section_loaded(self::TOOLSET_DIALOGS); require_once TOOLSET_COMMON_PATH . '/utility/dialogs/toolset.dialog-boxes.class.php'; } if (!$this->is_section_loaded(self::TOOLSET_HELP_VIDEOS)) { $this->add_section_loaded(self::TOOLSET_HELP_VIDEOS); require_once TOOLSET_COMMON_PATH . '/utility/help-videos/toolset-help-videos.php'; } $this->apply_filters_on_sections_loaded('toolset_register_utility_section'); }