Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function __construct(View $view) {
- $this->view = $view;
- $this->gundb = array(
- 'AR-15' => array('AR-15', 'Assault Rifle'),
- 'L96' => array('L96', 'Precision Rifle'),
- 'M110' => array('M110', 'Designated Marksman Rifle'),
- );
- }
- public function showGun($id) {
- if ($id != null){
- $this->view->makeGunPage("AR-15", "Assault Rifle");
- } else {
- $this->view->makeUnknownGunPage();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement