Reports::__construct PHP Метод

__construct() публичный Метод

public __construct ( $db, $user = null, $torrent = null, $subtitles = null, $requests = null, $forum = null, $mailbox = null, $comments = null, $log = null )
    public function __construct($db, $user = null, $torrent = null, $subtitles = null, $requests = null, $forum = null, $mailbox = null, $comments = null, $log = null)
    {
        $this->db = $db;
        $this->user = $user;
        $this->subtitles = $subtitles;
        $this->torrent = $torrent;
        $this->requests = $requests;
        $this->mailbox = $mailbox;
        $this->comments = $comments;
        $this->forum = $forum;
        $this->log = $log;
    }

Usage Example

Пример #1
0
 public function __construct($adb, $user, $reportid = "")
 {
     $this->db = $adb;
     $this->user = $user;
     $this->id = $reportid;
     parent::__construct($reportid);
 }
All Usage Examples Of Reports::__construct