You are here

RestfulTestArticlesResource__1_0.class.php in RESTful 7

Contains RestfulTestArticlesResource__1_0.

File

tests/modules/restful_test/plugins/restful/node/test_articles/1.0/RestfulTestArticlesResource__1_0.class.php
View source
<?php

/**
 * @file
 * Contains RestfulTestArticlesResource__1_0.
 */
class RestfulTestArticlesResource__1_0 extends RestfulExampleArticlesResource {

  /**
   * 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
RestfulTestArticlesResource__1_0 @file Contains RestfulTestArticlesResource__1_0.