hydrate($vars);
}
public function toarray()
{
$array = [];
if (!empty($this->id)) {
$array[] = 'page';
}
if (!empty($this->aff)) {
$array[] = 'aff=' . $this->aff;
}
if (!empty($this->action)) {
$array[] = 'action=' . $this->action;
}
if (!empty($this->redirect)) {
$array[] = $this->redirect;
}
return $array;
}
public function tostring()
{
return implode(' ', $this->toarray());
}
public function setid($id)
{
$this->id = $id;
}
public function setaff($aff)
{
$this->aff = $aff;
}
public function setaction($action)
{
$this->action = $action;
}
public function setredirect($redirect)
{
$this->redirect = $redirect;
}
public function id()
{
return $this->id;
}
}
a31aabc7fbb20fc3'>refslogtreecommitdiff
blob: 3856914b259f161ff6bd6f89f4f5cf60551a6555 (
plain)