public static function create($data, $obj = null) { $obj = new self(); $options = json_decode($data['options'], true); $fblikeOptions = $options['fblikeOptions']; $obj->setFblikeOptions($fblikeOptions); $obj->setContent($data['fblike']); return parent::create($data, $obj); }
public static function create($data, $obj = null) { $obj = new self(); $obj->setContent($data['html']); return parent::create($data, $obj); }
public static function create($data, $obj = null) { $obj = new self(); $obj->setUrl($data['image']); parent::create($data, $obj); }