Skip to content

Commit a4dd9ed

Browse files
committed
PHPDoc
1 parent 5e15a22 commit a4dd9ed

File tree

9 files changed

+156
-93
lines changed

9 files changed

+156
-93
lines changed

app/controller/common/404.php

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
<?php
2-
3-
class common404Controller extends engine{
4-
5-
function index() {
6-
$this->view('common/404');
7-
}
8-
9-
}
1+
<?php
2+
3+
class common404Controller extends engine {
104

5+
function index() {
6+
$this->view('common/404');
7+
}
8+
9+
}
1110

1211
?>

app/controller/common/home.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
<?php
22

3-
4-
53
class CommonHomeController extends Rex {
64

75
function index() {
8-
$data=array(
9-
"rex" => "Rex is cool"
10-
);
11-
$this->view('common/home',$data);
6+
$data['rex'] = "Rex is cool";
7+
$this->view('common/home', $data);
8+
$this->helper('lk');
129
}
1310

1411
}

app/language/en.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# global site information
2-
site.title = Website Performance | CSS Sprite Generator
3-
heading = CSS Sprite Generator
2+
site.title = Rex PHP Framework
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1+
OOOOOOPSS!
12

2-
3-
This is the 404 page located at <?php echo __FILE__;?>
3+
This is the 404 page located at <?php echo __FILE__; ?>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
This is the footer page located at <?php echo __FILE__;?>
3+
<div>This is the footer page located at <?php echo __FILE__; ?></div><br />
44
</body>
55
</html>
66

app/view/theme/default/template/common/header.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Rez PHP Framework</title>
8-
8+
99

1010
</head>
1111
<body>
12-
13-
This is the header page located at <?php echo __FILE__;?>
12+
<h3><?php echo $rex; ?></h3><br />
13+
<div>This is the header page located at <?php echo __FILE__; ?></div><br />
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
This is the home page located at <?php echo __FILE__;?>
3-
4-
2+
<div>This is the home page located at <?php echo __FILE__; ?></div><br />
3+
4+

0 commit comments

Comments
 (0)