You are here

public function RestfulExampleArticlesResource__1_6::publicFieldsInfo in RESTful 7

Overrides RestfulExampleArticlesResource::publicFieldsInfo().

Overrides RestfulEntityBase::publicFieldsInfo

File

modules/restful_example/plugins/restful/node/articles/1.6/RestfulExampleArticlesResource__1_6.class.php, line 13
Contains RestfulExampleArticlesResource__1_6.

Class

RestfulExampleArticlesResource__1_6
@file Contains RestfulExampleArticlesResource__1_6.

Code

public function publicFieldsInfo() {
  $public_fields = parent::publicFieldsInfo();
  $public_fields['body'] = array(
    'property' => 'body',
    'sub_property' => 'value',
  );
  return $public_fields;
}