PHP 클래스 Indatus\Ranger\ApiDatabase\QueryExecution\InstanceQuery

상속: extends QueryExecuter
파일 보기 프로젝트 열기: indatus/ranger

공개 메소드들

메소드 설명
__call ( $method, $arguments )
executeQuery ( $request_type )

보호된 메소드들

메소드 설명
delete ( ) : array
get ( ) : array
getInstance ( ) : array Function to return a resource instance. The function will handle wether or not the resource is nested and act appropriatley.
put ( ) : array

비공개 메소드들

메소드 설명
_buildNestedResource ( string $table, integer $primaryKey, integer $id ) : Illuminate\Database\Eloquent\Model _buildNestedResource - performs query on nested resource instance

메소드 상세

__call() 공개 메소드

public __call ( $method, $arguments )

delete() 보호된 메소드

protected delete ( ) : array
리턴 array

executeQuery() 공개 메소드

public executeQuery ( $request_type )

get() 보호된 메소드

protected get ( ) : array
리턴 array

getInstance() 보호된 메소드

getInstance - The ApiQueryAssemblerInterface will build the query from any api parameters that were passed in. Eager loaded relations joins, and left joins will be appended to the query builder and returned by the buildQueryFromApiParams() method. The returned value will then call the first() method which will return an Eloquent model instance object.
protected getInstance ( ) : array
리턴 array

put() 보호된 메소드

protected put ( ) : array
리턴 array