This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* first DBConfig | |
*/ | |
$dbParamsGlobal = array( | |
'hostname' => 'localhost', | |
'database' => 'somedbname', | |
'username' => 'root', | |
'password' => 'secretpasswd', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function toggleW3(id) { | |
var toggleme = $("#" + id); | |
toggleme.css("z-index", 5); | |
if (!toggleme.hasClass("w3-show")) { | |
$("#" + id).addClass("w3-show"); | |
$("#" + id).css("z-index", "1"); | |
$("#" + id).removeClass("w3-hide"); | |
var elementId = ""; | |
$(".w3-dropdown-content").each(function (index, element) { | |
elementId = $(element).attr("id"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get the route from URL and look at database for content to show it in view. | |
* @return ViewModel | |
*/ | |
public function routesCmsAction() | |
{ | |
$routeMatch = $this->serviceLocator->get('Application')->getMvcEvent()->getRouteMatch(); | |
$routeName = $routeMatch->getMatchedRouteName(); |
NewerOlder