You are here

RestfulTestArticlesResource__1_4.class.php in RESTful 7

Contains RestfulTestArticlesResource__1_4.

File

tests/modules/restful_test/plugins/restful/node/test_articles/1.4/RestfulTestArticlesResource__1_4.class.php
View source
<?php

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

  /**
   * Overrides \RestfulEntityBase::controllersInfo().
   */
  public static function controllersInfo() {
    return array(
      '' => array(
        \RestfulInterface::HEAD => 'getList',
      ),
      '^(\\d+,)*\\d+$' => array(
        \RestfulInterface::PATCH => 'patchEntity',
        \RestfulInterface::DELETE => 'deleteEntity',
      ),
    );
  }

}

Classes

Namesort descending Description
RestfulTestArticlesResource__1_4 @file Contains RestfulTestArticlesResource__1_4.