\VersionView

This class extends and especializate View class for use in Titan Version Control.

View artefact is itens list (list of arrays), and a item is fields list (list of Type object).

The choosed methodology assure only one fields list. If do have N objects as result from query, this database objects will be loaded in View class on demand.

Summary

Methods
Properties
Constants
__construct()
getPaginate()
setPaginate()
getFile()
getTable()
setTable()
getPrimary()
getFields()
getId()
getSth()
getSql()
getOrder()
isSortable()
getDefaultIcon()
load()
getField()
getLink()
getItem()
getIcon()
disableIcons()
removeIcon()
getTotal()
pageMenu()
toLabel()
toList()
getVersionedTable()
getVersionedPrimary()
$fields
No constants found
No protected methods found
$file
$primary
$table
$paginate
$sortable
$order
$sth
$icons
$disabledIcons
$default
$itemId
$page
$sql
$where
$total
$vTable
$vPrimary
N/A
No private methods found
No private properties found
N/A

Properties

$fields

$fields : 

Type

$file

$file : 

Type

$primary

$primary : 

Type

$table

$table : 

Type

$paginate

$paginate : 

Type

$sortable

$sortable : 

Type

$order

$order : 

Type

$sth

$sth : 

Type

$icons

$icons : 

Type

$disabledIcons

$disabledIcons : 

Type

$default

$default : 

Type

$itemId

$itemId : 

Type

$page

$page : 

Type

$sql

$sql : 

Type

$where

$where : 

Type

$total

$total : 

Type

$vTable

$vTable : 

Type

$vPrimary

$vPrimary : 

Type

Methods

__construct()

__construct() 

getPaginate()

getPaginate() 

setPaginate()

setPaginate(  $paginate) 

Parameters

$paginate

getFile()

getFile() 

getTable()

getTable() 

setTable()

setTable(  $table) 

Parameters

$table

getPrimary()

getPrimary() 

getFields()

getFields() 

getId()

getId() 

getSth()

getSth() 

getSql()

getSql() 

getOrder()

getOrder() 

isSortable()

isSortable() 

getDefaultIcon()

getDefaultIcon() 

load()

load(  $where = '',   $page,   $sql = FALSE) 

Parameters

$where
$page
$sql

getField()

getField(  $assign = FALSE) 

Parameters

$assign

getLink()

getLink(  $onlyLink = FALSE) 

Parameters

$onlyLink

getItem()

getItem() 

getIcon()

getIcon() 

disableIcons()

disableIcons(  $id,   $items) 

Parameters

$id
$items

removeIcon()

removeIcon(  $id) 

Parameters

$id

getTotal()

getTotal(  $where = '',   $sql = FALSE) 

Parameters

$where
$sql

pageMenu()

pageMenu(  $where = '',   $page,   $sql = FALSE) 

Parameters

$where
$page
$sql

toLabel()

toLabel(  $field,   $useOrder = TRUE) 

Parameters

$field
$useOrder

toList()

toList(  $field,   $itemId = NULL) 

Parameters

$field
$itemId

getVersionedTable()

getVersionedTable() 

getVersionedPrimary()

getVersionedPrimary()