Skip to content

Commit

Permalink
PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
paramientos committed Sep 19, 2016
1 parent 5e15a22 commit a4dd9ed
Show file tree
Hide file tree
Showing 9 changed files with 156 additions and 93 deletions.
17 changes: 8 additions & 9 deletions app/controller/common/404.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?php

class common404Controller extends engine{

function index() {
$this->view('common/404');
}

}
<?php

class common404Controller extends engine {

function index() {
$this->view('common/404');
}

}

?>
9 changes: 3 additions & 6 deletions app/controller/common/home.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<?php



class CommonHomeController extends Rex {

function index() {
$data=array(
"rex" => "Rex is cool"
);
$this->view('common/home',$data);
$data['rex'] = "Rex is cool";
$this->view('common/home', $data);
$this->helper('lk');
}

}
Expand Down
3 changes: 1 addition & 2 deletions app/language/en.tpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# global site information
site.title = Website Performance | CSS Sprite Generator
heading = CSS Sprite Generator
site.title = Rex PHP Framework
4 changes: 2 additions & 2 deletions app/view/theme/default/template/common/404.tpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
OOOOOOPSS!


This is the 404 page located at <?php echo __FILE__;?>
This is the 404 page located at <?php echo __FILE__; ?>
2 changes: 1 addition & 1 deletion app/view/theme/default/template/common/footer.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


This is the footer page located at <?php echo __FILE__;?>
<div>This is the footer page located at <?php echo __FILE__; ?></div><br />
</body>
</html>

6 changes: 3 additions & 3 deletions app/view/theme/default/template/common/header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rez PHP Framework</title>


</head>
<body>

This is the header page located at <?php echo __FILE__;?>
<h3><?php echo $rex; ?></h3><br />
<div>This is the header page located at <?php echo __FILE__; ?></div><br />
6 changes: 3 additions & 3 deletions app/view/theme/default/template/common/home.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

This is the home page located at <?php echo __FILE__;?>
<div>This is the home page located at <?php echo __FILE__; ?></div><br />


Loading

0 comments on commit a4dd9ed

Please sign in to comment.