PHP Classes

File: template/Code/table-get-item-contents-with-lang

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/Code/table-get-item-contents-with-lang   Download  
File: template/Code/table-get-item-contents-with-lang
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 11 months ago
Size: 397 bytes


Class file image Download
public function getItemById($id) { $select = $this->getTableGateway()->getSql()->select(); $select->columns(['*', new Expression('#TCPPRIMARYTABLE.'.$this->idField.' As DT_RowId')]); #TCPJOINSYNTX $select->where->equalTo('#TCPPRIMARYTABLE.'.$this->idField, $id); $resultSet = $this->getTableGateway()->selectWith($select); return $resultSet; }