You are here

RestfulDbQueryTestTable.class.php in RESTful 7

Contains RestfulDbQueryTestTable.

File

tests/modules/restful_test/plugins/restful/db_query_test/1.0/RestfulDbQueryTestTable.class.php
View source
<?php

/**
 * @file
 * Contains RestfulDbQueryTestTable.
 */
class RestfulDbQueryTestTable extends \RestfulDataProviderDbQuery implements \RestfulDataProviderDbQueryInterface, \RestfulDataProviderInterface {

  /**
   * {@inheritdoc}
   */
  public function publicFieldsInfo() {
    return array(
      'id' => array(
        'property' => 'id',
      ),
      'string' => array(
        'property' => 'str_field',
      ),
      'integer' => array(
        'property' => 'int_field',
      ),
      'serialized' => array(
        'property' => 'serialized_field',
      ),
    );
  }

}

Classes

Namesort descending Description
RestfulDbQueryTestTable @file Contains RestfulDbQueryTestTable.