1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-09-20 01:03:26 +01:00
tcl_update_db/lib/TclUpdates/GotuObject.php

24 lines
351 B
PHP
Executable File

<?php
namespace TclUpdates;
class GotuObject
{
private $attrs = array();
public function __construct()
{
}
public static function fromXmlParser(XmlParser $xp)
{
if (!$xp->validateGOTU()) {
return false;
}
$g = new self();
$g->attrs = $xp->getAttrs();
return $g;
}
}