public function RestfulTestArticlesResource__1_0::publicFieldsInfo in RESTful 7
Overrides RestfulExampleArticlesResource::publicFieldsInfo().
Overrides RestfulEntityBase::publicFieldsInfo
File
- tests/
modules/ restful_test/ plugins/ restful/ node/ test_articles/ 1.0/ RestfulTestArticlesResource__1_0.class.php, line 13 - Contains RestfulTestArticlesResource__1_0.
Class
- RestfulTestArticlesResource__1_0
- @file Contains RestfulTestArticlesResource__1_0.
Code
public function publicFieldsInfo() {
$public_fields = parent::publicFieldsInfo();
$public_fields['body'] = array(
'property' => 'body',
'sub_property' => 'value',
);
return $public_fields;
}