1*d92c078cSAndreas Gohr<?php 2*d92c078cSAndreas Gohr 3*d92c078cSAndreas Gohrnamespace dokuwiki\Search\Collection; 4*d92c078cSAndreas Gohr 5*d92c078cSAndreas Gohr/** 6*d92c078cSAndreas Gohr * Collection for page titles 7*d92c078cSAndreas Gohr * 8*d92c078cSAndreas Gohr * Stores the title of each page as a direct 1:1 mapping. 9*d92c078cSAndreas Gohr * 10*d92c078cSAndreas Gohr * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 11*d92c078cSAndreas Gohr * @author Andreas Gohr <andi@splitbrain.org> 12*d92c078cSAndreas Gohr */ 13*d92c078cSAndreas Gohrclass PageTitleCollection extends DirectCollection 14*d92c078cSAndreas Gohr{ 15*d92c078cSAndreas Gohr /** @inheritdoc */ 16*d92c078cSAndreas Gohr public function __construct() 17*d92c078cSAndreas Gohr { 18*d92c078cSAndreas Gohr parent::__construct('page', 'title'); 19*d92c078cSAndreas Gohr } 20*d92c078cSAndreas Gohr} 21