public function getAll()
    {
        if ($this->isRequestGet()) {
            try {
                $class = $this->getClassParameter();
                $classes = $this->getResourceService()->getAllClasses($class);
                $this->returnSuccess([$classes]);
            } catch (common_Exception $e) {
                $this->returnFailure($e);
            }
        } else {
            $this->returnFailure(new common_exception_MethodNotAllowed(__METHOD__ . ' only accepts GET method'));
        }
    }
public function getAll()
    {
        if ($this->isRequestGet()) {
            try {
                $class = $this->getClassParameter();
                $classes = $this->getResourceService()->getAllClasses($class);
                $this->returnSuccess([$classes]);
            } catch (common_Exception $e) {
                $this->returnFailure($e);
            }
        } else {
            $this->returnFailure(new common_exception_MethodNotAllowed(__METHOD__ . ' only accepts GET method'));
        }
    }
public function getAll ( ) { if ( $ this -> isRequestGet ( ) ) { try { $ class = $ this -> getClassParameter ( ) ; $ classes = $ this -> getResourceService ( ) -> getAllClasses ( $ class ) ; $ this -> returnSuccess ( [ $ classes ] ) ; } catch ( common_Exception $ e ) { $ this -> returnFailure ( $ e ) ; } } else { $ this -> returnFailure ( new common_exception_MethodNotAllowed ( __METHOD__ . ' only accepts GET method' ) ) ; } }
Get all the classes that belong to a subclass.
@requiresRight classUri READ
Get all the classes that belong to a subclass .