Simple controllers (offer and position) are workign in the new oo format
This commit is contained in:
@@ -40,9 +40,12 @@ abstract class AbstractCommonClubsModel
|
||||
return $this->new;
|
||||
}
|
||||
|
||||
public function setValues($values)
|
||||
public function setValues($values, $unpack = false)
|
||||
{
|
||||
$this->values = $values;
|
||||
if($unpack)
|
||||
$this->values = $this->unpackExternalReferencesFromKeys($values);
|
||||
else
|
||||
$this->values = $values;
|
||||
}
|
||||
|
||||
protected function setValue($key, $value)
|
||||
@@ -351,4 +354,9 @@ abstract class AbstractCommonClubsModel
|
||||
$this->setValues($vals);
|
||||
}
|
||||
|
||||
public function dataIsValid()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user