| Current Path : /var/www/html/ajay/phpwebsite-1.8.x/Global/ |
| Current File : /var/www/html/ajay/phpwebsite-1.8.x/Global/Register.php |
<?php
/*
*
* @author Matthew McNaney <mcnaney at gmail dot com>
* @license http://opensource.org/licenses/lgpl-3.0.html
*/
abstract class Register extends Data {
/**
* Module object of module wanting to register to the parent object
* @var Module
*/
protected $registrant;
/**
*
* @param Module $module The module other module register to;
* the parent of this register object
*/
public function __construct($module, Module $registrant)
{
$this->setParent($module);
$this->setRegistrant($registrant);
}
protected function setRegistrant(Module $registrant)
{
$this->registrant = $registrant;
}
}
?>