<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
// }}}
// {{{ constructor
- public function __construct($uid, $title, $body, $append)
+ public function __construct(User &$_user, $_title, $_body, $_append)
{
- parent::__construct($uid, false, 'nl');
- $this->art = new NLArticle($title, $body, $append);
+ parent::__construct($_user, false, 'nl');
+ $this->art = new NLArticle($_title, $_body, $_append);
}
// }}}