24 lines
351 B
PHP
Executable File
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;
|
|
}
|
|
}
|