2024.8.23
Loading...
Searching...
No Matches
class.tpl.app.clearFolders.php
Go to the documentation of this file.
1<?php
2/*
3 * Copyright (c) 2021-2024 Bearsampp
4 * License: GNU General Public License version 3 or later; see LICENSE.txt
5 * Author: bear
6 * Website: https://bearsampp.com
7 * Github: https://github.com/Bearsampp
8 */
9
10/**
11 * Class TplAppClearFolders
12 *
13 * This class provides a method to generate an action string for clearing folders within the Bearsampp application.
14 */
16{
17 /**
18 * Generates an action string to clear folders.
19 *
20 * This method constructs and returns an action string that triggers the `CLEAR_FOLDERS` action.
21 * The action string includes the caption and glyph for the menu item, which are retrieved from the language settings.
22 *
23 * @global object $bearsamppLang Provides language support for retrieving language-specific values.
24 *
25 * @return string The generated action string for clearing folders.
26 */
27 public static function process()
28 {
29 global $bearsamppLang;
30
33 null,
35 );
36 }
37}
global $bearsamppLang
const CLEAR_FOLDERS
const MENU_CLEAR_FOLDERS
static getActionRun($action, $args=array(), $item=array(), $waitUntilTerminated=true)