Lines Matching +full:php +full:- +full:version
1 <?php
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
48 $this->tree = $tree;
59 $version = '';
62 $head = Registry::headerFactory()->make('HEAD', $this->tree);
65 $sour = $head->facts(['SOUR'])->first();
68 $source = $sour->value();
69 $title = $sour->attribute('NAME');
70 $version = $sour->attribute('VERS');
76 $version,
86 return $this->tree->name();
94 return $this->tree->id();
102 return e($this->tree->title());
110 return $this->gedcomHead()[0];
118 $head = $this->gedcomHead();
120 // Fix broken version string in Family Tree Maker
124 $head[1] = substr($head[1], $p, $p2 - $p);
127 // Fix EasyTree version
141 $head = Registry::headerFactory()->make('HEAD', $this->tree);
144 $fact = $head->facts(['DATE'])->first();
148 … return Registry::timestampFactory()->fromString($fact->value(), 'j M Y')->isoFormat('LL');
164 ->where('gedcom_id', '=', $this->tree->id())
165 ->where('status', '=', 'accepted')
166 ->orderBy('change_id', 'DESC')
167 ->select(['change_time'])
168 ->first();
171 return $this->gedcomDate();
174 return Registry::timestampFactory()->fromString($row->change_time)->isoFormat('LL');
182 return $this->tree->getPreference('PEDIGREE_ROOT_ID');