Permalink
Browse files

More spring cleaning.

  • Loading branch information...
brego committed Apr 19, 2010
1 parent e697070 commit 0299db5f2453a08cb5976ca3e0679a2b669394fd
Showing with 9 additions and 4 deletions.
  1. +1 −1 LICENSE
  2. +1 −1 README.markdown
  3. +7 −2 core/controller/base.php
View
@@ -1,6 +1,6 @@
The MIT License
-Copyright (c) 2008 Kamil "Brego" Dzielinski <brego.dk@gmail.com>
+Copyright (c) 2008-2010 Kamil "Brego" Dzielinski <brego.dk@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
@@ -1,4 +1,4 @@
-Prank v0.30 - Common Sense PHP Framework
+Prank v0.50 - Common Sense PHP Framework
========================================
Prank is a common sense [PHP][] framework, which tries to utilize the common
View
@@ -25,10 +25,10 @@
*/
class ControllerBase {
public $view_variables = array();
+ public $layout = 'default';
private $action = null;
private $view = null;
private $parameters = array();
- public $layout = 'default';
private $controller = null;
private $config = null;
private $params_calculated = false;
@@ -78,7 +78,12 @@ public function __get($property) {
*
* Calls all callbacks, the action method, and renders the output. Also
* provides the layout functionality.
- *
+ *
+ * @param string $action
+ * @param string $view
+ * @param string $parameters
+ * @param string $controller
+ * @param string $config
* @return void
*/
public function run($action, $view, $parameters, $controller, $config) {

0 comments on commit 0299db5

Please sign in to comment.