You are here

RestfulTestMainResource__1_3.class.php in RESTful 7

Contains RestfulTestMainResource__1_3.

File

tests/modules/restful_test/plugins/restful/entity_test/main/1.3/RestfulTestMainResource__1_3.class.php
View source
<?php

/**
 * @file
 * Contains RestfulTestMainResource__1_3.
 */
class RestfulTestMainResource__1_3 extends RestfulTestMainResource {

  /**
   * Overrides RestfulTestEntityTestsResource::publicFieldsInfo().
   */
  public function publicFieldsInfo() {
    $public_fields = parent::publicFieldsInfo();
    $public_fields['callback'] = array(
      'callback' => array(
        $this,
        'invalidCallback',
      ),
    );
    return $public_fields;
  }

}

Classes

Namesort descending Description
RestfulTestMainResource__1_3 @file Contains RestfulTestMainResource__1_3.