|
Revision 503, 1.4 kB
(checked in by padams, 4 months ago)
|
|
added css/js head inclusion functionality.
altered al internal controllers to descend from adminController
added base owa.js lib
added js lib for widgets
added config js object to <head> template
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | // |
|---|
| 4 | // Open Web Analytics - An Open Source Web Analytics Framework |
|---|
| 5 | // |
|---|
| 6 | // Copyright 2006 Peter Adams. All rights reserved. |
|---|
| 7 | // |
|---|
| 8 | // Licensed under GPL v2.0 http://www.gnu.org/copyleft/gpl.html |
|---|
| 9 | // |
|---|
| 10 | // Unless required by applicable law or agreed to in writing, software |
|---|
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 13 | // See the License for the specific language governing permissions and |
|---|
| 14 | // limitations under the License. |
|---|
| 15 | // |
|---|
| 16 | // $Id$ |
|---|
| 17 | // |
|---|
| 18 | |
|---|
| 19 | require_once(OWA_BASE_CLASSES_DIR.'owa_controller.php'); |
|---|
| 20 | |
|---|
| 21 | /** |
|---|
| 22 | * Administrative Controller Class |
|---|
| 23 | * |
|---|
| 24 | * This controller should be used for internal management functions |
|---|
| 25 | * |
|---|
| 26 | * @author Peter Adams <peter@openwebanalytics.com> |
|---|
| 27 | * @copyright Copyright © 2006 Peter Adams <peter@openwebanalytics.com> |
|---|
| 28 | * @license http://www.gnu.org/copyleft/gpl.html GPL v2.0 |
|---|
| 29 | * @category owa |
|---|
| 30 | * @package owa |
|---|
| 31 | * @version $Revision$ |
|---|
| 32 | * @since owa 1.0.0 |
|---|
| 33 | */ |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | class owa_adminController extends owa_controller { |
|---|
| 37 | |
|---|
| 38 | var $is_admin = true; |
|---|
| 39 | |
|---|
| 40 | /** |
|---|
| 41 | * Constructor |
|---|
| 42 | * |
|---|
| 43 | * @param array $params |
|---|
| 44 | * @return owa_controller |
|---|
| 45 | */ |
|---|
| 46 | function owa_adminController($params) { |
|---|
| 47 | |
|---|
| 48 | return owa_adminController::__construct($params); |
|---|
| 49 | |
|---|
| 50 | } |
|---|
| 51 | |
|---|
| 52 | function __construct($params) { |
|---|
| 53 | |
|---|
| 54 | return parent::__construct($params); |
|---|
| 55 | } |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | } |
|---|
| 59 | |
|---|
| 60 | ?> |
|---|