404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.117.92.75: ~ $
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Functionality for the navigation tree
 *
 * @package PhpMyAdmin-Navigation
 */
namespace PMA\libraries\navigation\nodes;

use PMA;

/**
 * Represents a node that is a child of a database node
 * This may either be a concrete child such as table or a container
 * such as table container
 *
 * @package PhpMyAdmin-Navigation
 */
abstract class NodeDatabaseChild extends Node
{
    /**
     * Returns the type of the item represented by the node.
     *
     * @return string type of the item
     */
    protected abstract function getItemType();

    /**
     * Returns HTML for control buttons displayed infront of a node
     *
     * @return String HTML for control buttons
     */
    public function getHtmlForControlButtons()
    {
        $ret = '';
        $cfgRelation = PMA_getRelationsParam();
        if ($cfgRelation['navwork']) {
            $db = $this->realParent()->real_name;
            $item = $this->real_name;
            $ret = '<span class="navItemControls">'
                . '<a href="navigation.php'
                . PMA_URL_getCommon()
                . '&hideNavItem=true'
                . '&itemType=' . urlencode($this->getItemType())
                . '&itemName=' . urlencode($item)
                . '&dbName=' . urlencode($db) . '"'
                . ' class="hideNavItem ajax">'
                . PMA\libraries\Util::getImage('lightbulb_off.png', __('Hide'))
                . '</a></span>';
        }

        return $ret;
    }
}

Filemanager

Name Type Size Permission Actions
Node.php File 26.35 KB 0644
NodeColumn.php File 1.38 KB 0644
NodeColumnContainer.php File 1.85 KB 0644
NodeDatabase.php File 24.16 KB 0644
NodeDatabaseChild.php File 1.49 KB 0644
NodeDatabaseChildContainer.php File 1.15 KB 0644
NodeDatabaseContainer.php File 1.41 KB 0644
NodeEvent.php File 1.48 KB 0644
NodeEventContainer.php File 1.63 KB 0644
NodeFunction.php File 1.57 KB 0644
NodeFunctionContainer.php File 1.86 KB 0644
NodeIndex.php File 1.28 KB 0644
NodeIndexContainer.php File 1.85 KB 0644
NodeProcedure.php File 1.61 KB 0644
NodeProcedureContainer.php File 1.83 KB 0644
NodeTable.php File 10.85 KB 0644
NodeTableContainer.php File 1.75 KB 0644
NodeTrigger.php File 1.29 KB 0644
NodeTriggerContainer.php File 1.69 KB 0644
NodeView.php File 1.46 KB 0644
NodeViewContainer.php File 1.74 KB 0644