function &_getApprovalTableNotificationCycle() { $atsm = new Docman_ApprovalTableNotificationCycle(); $atsm->setTable($this->table); $atsm->setItem($this->item); $um =& $this->_getUserManager(); $owner =& $um->getUserById($this->table->getOwner()); $atsm->setOwner($owner); if ($this->notificationManager !== null) { $atsm->setNotificationManager($this->notificationManager); } return $atsm; }