__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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 function __;
/**
* Represents a function node in the navigation tree
*/
class NodeFunction extends NodeDatabaseChild
{
/**
* Initialises the class
*
* @param string $name An identifier for the new node
* @param int $type Type of node, may be one of CONTAINER or OBJECT
* @param bool $isGroup Whether this object has been created
* while grouping nodes
*/
public function __construct($name, $type = Node::OBJECT, $isGroup = false)
{
parent::__construct($name, $type, $isGroup);
$this->icon = ['image' => 'b_routines', 'title' => __('Function')];
$this->links = [
'text' => [
'route' => '/database/routines',
'params' => ['item_type' => 'FUNCTION', 'edit_item' => 1, 'db' => null, 'item_name' => null],
],
'icon' => [
'route' => '/database/routines',
'params' => ['item_type' => 'FUNCTION', 'execute_dialog' => 1, 'db' => null, 'item_name' => null],
],
];
$this->classes = 'function';
$this->urlParamName = 'item_name';
}
/**
* Returns the type of the item represented by the node.
*
* @return string type of the item
*/
protected function getItemType()
{
return 'function';
}
}
| 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 |
|