Lines Matching refs:pid
11 * Import page schema only when the pid header is present.
16 if (!in_array('pid', $this->header))
17 throw new StructException('There is no "pid" header in the CSV. Schema not imported.');
28 $pid = cleanID($values[0]);
29 if ($this->createPage[$pid]) {
30 $this->createPage($pid, $values);
40 * @param string $pid
43 protected function createPage($pid, $line)
45 $text = pageTemplate($pid);
47 $pageParts = explode(':', $pid);
60 saveWikiText($pid, $text, 'Created by struct csv import');
73 if ($col->getLabel() !== 'pid' || !$INPUT->bool('createPage')) {
77 $pid = cleanID($rawvalue);
78 if (!page_exists($pid)) {
79 $this->createPage[$pid] = true;