Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- HomePage.php
- <?php
- class HomePage extends Page
- {
- }
- class HomePage_Controller extends Page_Controller
- {
- public function UserConstants()
- {
- return get_defined_constants()['user'];
- }
- }
- -- HomePage.ss
- <div class="content-container unit size3of4 lastUnit">
- <article>
- <h1>$Title</h1>
- <% loop $UserConstants %>
- <p>Key: ? - Value = ?</p>
- <% end_loop %>
- <div class="content">$Content</div>
- </article>
- $Form
- $PageComments
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement