Created
November 27, 2015 12:48
-
-
Save fredrikoller/cd79f819a4499ddb64b0 to your computer and use it in GitHub Desktop.
thug life
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 | |
/** | |
* Created by PhpStorm. | |
* User: alioriyadho | |
* Date: 2015-11-27 | |
* Time: 11:49 | |
*/ | |
// Inkluderar klassen venue | |
include_once "venue.php"; | |
// Skapar ett objekt av venue | |
$newV = new venue(); | |
// Anropar metoden, skriver två argument som ska filtrera | |
$xmlVal = $newV->getVenueById("city", "Trollywood"); | |
echo $xmlVal->name; | |
// Hämtar alla anläggningar | |
$allVen = $newV->getAllVenues(); | |
//print_r($allVen); | |
//HEj | |
//thug life |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment