forked from OrayDev/tudu-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Group.php
67 lines (60 loc) · 1.21 KB
/
Group.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/**
* Tudu Library
*
* LICENSE
*
*
* @category Tudu
* @package Tudu_Model
* @copyright Copyright (c) 2009-2010 Shanghai Best Oray Information S&T CO., Ltd.
* @link http://www.oray.com/
* @version $Id: Tudu.php 2070 2012-08-22 09:37:26Z cutecube $
*/
/**
* @see Model_Tudu_Extension_Abstract
*/
require_once 'Model/Tudu/Extension/Abstract.php';
/**
* @category Model
* @package Model_Exception
* @copyright Copyright (c) 2009-2012 Shanghai Best Oray Information S&T CO., Ltd.
*/
class Model_Tudu_Extension_Group extends Model_Tudu_Extension_Abstract
{
/**
*
* @var string
*/
protected $_handlerClass = 'Model_Tudu_Extension_Handler_Group';
/**
*
* @var array
*/
protected $_children = array();
/**
*
* @param Model_Tudu_Tudu $tudu
*/
public function appendChild(Model_Tudu_Tudu &$tudu)
{
$this->_children[] = $tudu;
return $this;
}
/**
*
* @return array:
*/
public function & getChildren()
{
return $this->_children;
}
/**
*
* @return string
*/
public function getHandlerClass()
{
return $this->_handlerClass;
}
}