You are here

RestfulExampleArticlesResource__1_6.class.php in RESTful 7

Contains RestfulExampleArticlesResource__1_6.

File

modules/restful_example/plugins/restful/node/articles/1.6/RestfulExampleArticlesResource__1_6.class.php
View source
<?php

/**
 * @file
 * Contains RestfulExampleArticlesResource__1_6.
 */
class RestfulExampleArticlesResource__1_6 extends RestfulEntityBaseNode {

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

}

Classes

Namesort descending Description
RestfulExampleArticlesResource__1_6 @file Contains RestfulExampleArticlesResource__1_6.