1 : <?php
2 :
3 : /**
4 : * Dictionaries of Old French and Latin
5 : *
6 : * PHP 5
7 : *
8 : * @category Application
9 : * @package DicFro
10 : * @author Michel Corne <mcorne@yahoo.com>
11 : * @copyright 2008-2010 Michel Corne
12 : * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License, version 3 (GPLv3)
13 : * @link http://www.micmap.org/dicfro
14 : */
15 :
16 : require_once 'Common/String.php';
17 :
18 : /**
19 : * View Helper base class
20 : *
21 : * @category Application
22 : * @package DicFro
23 : * @author Michel Corne <mcorne@yahoo.com>
24 : * @copyright 2008-2010 Michel Corne
25 : * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License, version 3 (GPLv3)
26 : */
27 :
28 : abstract class ViewHelper_Base
29 : {
30 :
31 : /**
32 : * View object
33 : * @var object
34 : */
35 : public $view;
36 :
37 : /**
38 : * String object
39 : * @var object
40 : */
41 : public $string;
42 :
43 : /**
44 : * Constructor
45 : *
46 : * @param object $view the view object
47 : * @return void
48 : */
49 : public function __construct(Engine_View $view)
50 : {
51 22 : $this->view = $view;
52 22 : $this->string = new Common_String;
53 22 : }
|