Updated abstract controller to allow common CRUD operations, errors not yet testet

This commit is contained in:
2019-06-03 15:29:08 +02:00
parent 319911d52f
commit 1b43ab8356
5 changed files with 70 additions and 125 deletions

View File

@@ -319,6 +319,9 @@ abstract class AbstractCommonClubsModel
return $values;
}
/**
* @return string
*/
public function pack()
{
$vals = $this->getValues();
@@ -330,6 +333,10 @@ abstract class AbstractCommonClubsModel
return urlencode($json);
}
/**
* @param string $str
* @param boolean $decode
*/
public function unpack($str, $decode = false)
{
if($decode)