public function set($file, $url, $title, $titles, $tocs, $ctime, array $depends)
    {
        foreach ($tocs as $toc) {
            foreach ($toc as $child) {
                $this->parents[$child] = $file;
                if (isset($this->entries[$child])) {
                    $this->entries[$child]['parent'] = $file;
                }
            }
        }

        $this->entries[$file] = array(
            'file' => $file,
            'url' => $url,
            'title' => $title,
            'titles' => $titles,
            'tocs' => $tocs,
            'ctime' => $ctime,
            'depends' => $depends
        );

        if (isset($this->parents[$file])) {
            $this->entries[$file]['parent'] = $this->parents[$file];
        }
    }