mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11481] Use container for all classes and inject dependencies
PHPBB3-11481
This commit is contained in:
@@ -28,11 +28,17 @@ class phpbb_feed_forum extends phpbb_feed_post_base
|
||||
var $forum_id = 0;
|
||||
var $forum_data = array();
|
||||
|
||||
function __construct($forum_id)
|
||||
/**
|
||||
* Set the Forum ID
|
||||
*
|
||||
* @param int $forum_id Forum ID
|
||||
* @return phpbb_feed_forum
|
||||
*/
|
||||
public function set_forum_id($topic_id)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->forum_id = (int) $forum_id;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
function open()
|
||||
|
Reference in New Issue
Block a user