Updated abstract controller to allow common CRUD operations, errors not yet testet
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user