1 | <?php |
||
19 | class TxNews implements SitemapProviderInterface |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * Get the Records |
||
24 | * |
||
25 | * @param integer $startPage |
||
26 | * @param array $basePages |
||
27 | * @param SitemapController $obj |
||
28 | * |
||
29 | * @throws \Exception |
||
30 | * @return array |
||
31 | */ |
||
32 | public function getRecords($startPage, $basePages, SitemapController $obj): array |
||
63 | |||
64 | /** |
||
65 | * Based on t3lib_Befunc::getRecordsByField |
||
66 | * |
||
67 | * @param string $theTable |
||
68 | * @param string $theField |
||
69 | * @param string $theValue |
||
70 | * @param string $whereClause |
||
71 | * @param string $groupBy |
||
72 | * @param string $orderBy |
||
73 | * @param string $limit |
||
74 | * @param bool $useDeleteClause |
||
75 | * |
||
76 | * @return array |
||
77 | */ |
||
78 | public function getRecordsByField( |
||
102 | |||
103 | /** |
||
104 | * Get the priority |
||
105 | * |
||
106 | * @param array $record |
||
107 | * |
||
108 | * @internal param int $startPage |
||
109 | * @return float |
||
110 | */ |
||
111 | protected function getPriority($record) |
||
119 | |||
120 | /** |
||
121 | * get the modifiedDate |
||
122 | * |
||
123 | * @param array $record |
||
124 | * |
||
125 | * @return integer |
||
126 | */ |
||
127 | protected function getModifiedDate($record) |
||
136 | |||
137 | /** |
||
138 | * Get the database connection |
||
139 | * |
||
140 | * @return \TYPO3\CMS\Core\Database\DatabaseConnection |
||
141 | */ |
||
142 | protected function getDatabaseConnection() |
||
146 | } |
||
147 |