~fkhan-zivios/zivios/devel

« back to all changes in this revision

Viewing changes to application/modules/asterisk/controllers/IndexController.php

  • Committer: Faraz Khan
  • Date: 2008-09-15 13:29:33 UTC
  • Revision ID: fkhan@zivios.org-20080915132933-d27jml5l29xw4gsr
Initial release to bazaar, code in sync with 0.5.0-release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Copyright (c) 2008 Zivios, LLC.
 
4
 *
 
5
 * This file is part of Zivios.
 
6
 *
 
7
 * Zivios is free software: you can redistribute it and/or modify
 
8
 * it under the terms of the GNU General Public License as published by
 
9
 * the Free Software Foundation, either version 3 of the License, or
 
10
 * (at your option) any later version.
 
11
 *
 
12
 * Zivios is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License
 
18
 * along with Zivios.  If not, see <http://www.gnu.org/licenses/>.
 
19
 *
 
20
 * @package             Zivios
 
21
 * @copyright   Copyright (c) 2008 Zivios, LLC. (http://www.zivios.org)
 
22
 * @license             http://www.zivios.org/legal/license
 
23
 * @version             $Id: IndexController.php 902 2008-08-25 06:39:02Z gmustafa $
 
24
 **/
 
25
 
 
26
class Asterisk_IndexController extends Ecl_Controller
 
27
{
 
28
        public function indexAction()
 
29
        {
 
30
                
 
31
 
 
32
                $emsolc = EMSOlcSchema::getOlcSchema("");
 
33
                $attrib = $emsolc->quickaddAttributeType("12.5.4","TestAttrib","For testing Only","emsdescription");
 
34
                $handler = $emsolc->update();
 
35
                $handler->process();    
 
36
                
 
37
                echo "Index action called of asterisk indexController";
 
38
                /**
 
39
                 * Rendering is off by default -- did you create an index.phtml?
 
40
                 */
 
41
                //$this->render("index");
 
42
        }
 
43
        
 
44
        public function testAction() 
 
45
        {
 
46
                echo "qwert";
 
47
        }
 
48
        
 
49
}
 
 
b'\\ No newline at end of file'