BUG 9180 Correct coding convention
Correct coding convention and replace json_encode to G::json_encode and json_decode to G::json_decode
This commit is contained in:
@@ -4,30 +4,34 @@ require_once ('Base.php');
|
||||
/**
|
||||
* Application Solr Queue
|
||||
*/
|
||||
class Entity_AppSolrQueue extends Entity_Base {
|
||||
class Entity_AppSolrQueue extends Entity_Base
|
||||
{
|
||||
public $appUid = '';
|
||||
public $appUpdated = 0;
|
||||
|
||||
private function __construct() {
|
||||
private function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
static function CreateEmpty() {
|
||||
static function createEmpty()
|
||||
{
|
||||
$obj = new Entity_AppSolrQueue ();
|
||||
return $obj;
|
||||
}
|
||||
|
||||
static function CreateForRequest($data) {
|
||||
static function createForRequest($data)
|
||||
{
|
||||
$obj = new Entity_AppSolrQueue ();
|
||||
|
||||
$obj->initializeObject ( $data );
|
||||
$obj->initializeObject ($data);
|
||||
|
||||
$requiredFields = array (
|
||||
"appUid",
|
||||
"appUpdated"
|
||||
);
|
||||
|
||||
$obj->validateRequiredFields ( $requiredFields );
|
||||
$obj->validateRequiredFields ($requiredFields);
|
||||
|
||||
return $obj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user