Spork Code Libraries

AbstractRestfulTableController

abstract
Extends
\Zend\Mvc\Controller\AbstractRestfulController

Properties

$start

$start : 

Type

$end

$end : 

Type

Methods

setStart()

setStart(  $start) 

Parameters

$start

getStart()

getStart() 

setEnd()

setEnd(  $end) 

Parameters

$end

getEnd()

getEnd() 

getTable()

getTable() : \Zend\Db\TableGateway\AbstractTableGateway

Get table gateway instance

Returns

\Zend\Db\TableGateway\AbstractTableGateway
abstract

getListJsonResponse()

getListJsonResponse(\Zend\Db\Sql\Select  $select = null) 

Parameters

\Zend\Db\Sql\Select $select

getListCount()

getListCount(\Zend\Db\Sql\Select  $select = null) 

Parameters

\Zend\Db\Sql\Select $select

getListData()

getListData(\Zend\Db\Sql\Select  $select = null) 

Parameters

\Zend\Db\Sql\Select $select

importRange()

importRange() 

setRangeDefaults()

setRangeDefaults() 

setContentRange()

setContentRange(  $start,   $end,   $total) 

Parameters

$start
$end
$total

toArray()

toArray(\Spork\Mvc\Controller\unknown  $data) 

Convert a result set to an array

Parameters

\Spork\Mvc\Controller\unknown $data