blob: 8b1b36c400d9ec3581156c091f6760562c1307da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<?php
/**
* TSqlMapStatement, TSqlMapInsert, TSqlMapUpdate, TSqlMapDelete,
* TSqlMapSelect and TSqlMapSelectKey classes file.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
* @package Prado\Data\SqlMap\Configuration
*/
namespace Prado\Data\SqlMap\Configuration;
/**
* TSqlMapInsert class corresponds to the <insert> element.
*
* The <insert> element allows <selectKey> child elements that can be used
* to generate a key to be used for the insert command.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
* @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapInsert extends TSqlMapStatement
{
private $_selectKey=null;
/**
* @return TSqlMapSelectKey select key element.
*/
public function getSelectKey()
{
return $this->_selectKey;
}
/**
* @param TSqlMapSelectKey select key.
*/
public function setSelectKey($value)
{
$this->_selectKey = $value;
}
}
|