Mysql __construct(
[
$option = '']
)
|
|
»ý¼ºÀÚ
Parameters:
API Tags:
Redefinition of:
- DBClient::__construct()
Redefined in descendants as:
½ÇÇàµÈ row ¼ö
API Tags:
Redefinition of:
- DBClient::affectedRows()
- Äõ¸® ½ÇÇà¿¡ ¿µÇâÀ» ¹ÞÀº rowÀÇ ¼ö
Redefined in descendants as:
±¸Çö¾ÈµÊ
API Tags:
Information Tags:
Redefinition of:
- DBClient::bind()
- prepareµÈ ±¸¹®À» ¹ÙÀεù ÇÑ´Ù.
Redefined in descendants as:
¿¬°á ´Ý±â
API Tags:
Redefinition of:
- DBClient::close()
- ¿¬°á´Ý±â
Redefined in descendants as:
commit
mssqlÀº ÀÚµ¿À¸·Î commitÀ» Çϱ⠶§¹®¿¡ ÀÚµ¿commit À» ÇÏÁö ¾ÊÀ»·Á¸é ¹Ýµå½Ã begin() ¸Þ¼Òµå¸¦ ¸ÕÀú ½ÇÇàÇØ¾ßÇÑ´Ù.
API Tags:
Redefinition of:
- DBClient::commit()
- commit
¿¡·¯ ¸Þ¼¼Áö ¸®ÅÏ
API Tags:
Return: | ¿¡·¯ ¸Þ¼¼Áö |
Access: | public |
Redefinition of:
- DBClient::error()
- ¿¡·¯ ¸®ÅÏ
Redefined in descendants as:
string escape(
string
$str
)
|
|
¹®ÀÚ¿ escape
Parameters:
string |
$str: |
escape µÉ ¹®ÀÚ¿ |
API Tags:
Return: | escape µÈ ¹®ÀÚ¿ |
Access: | public |
Redefinition of:
- DBClient::escape()
- °¢°¢ DBº° ¹®ÀÚ¿ escape
Redefined in descendants as:
±¸Çö¾ÈµÊ
API Tags:
Information Tags:
Redefinition of:
- DBClient::execute()
- prepareµÈ ±¸¹®À» ½ÇÇàÇÑ´Ù.
Redefined in descendants as:
array fetch(
resource
$result
)
|
|
½ÇÇàµÈ select Äõ¸®¿¡ ´ëÇØ¼ fetch ¸¦ ÅëÇØ ÇÑ Çà(row)À» ¸®ÅÏÇÑ´Ù.
¸®ÅϵǴ °ªÀº array('Çʵå' => '¤±¤±¤±', ...); ÇüŸ¦ °¡Áø´Ù.
Parameters:
resource |
$result: |
select °á°ú·Î ³ª¿Â resource |
API Tags:
Return: | row µ¥ÀÌŸ |
Access: | public |
Redefinition of:
- DBClient::fetch()
- ·¹ÄÚµå °¡Á®¿À±â
Redefined in descendants as:
-
Mysql_i::fetch()
: ½ÇÇàµÈ select Äõ¸®¿¡ ´ëÇØ¼ fetch ¸¦ ÅëÇØ ÇÑ Çà(row)À» ¸®ÅÏÇÑ´Ù.
¸Þ¸ð¸® ÇØÁ¦
Parameters:
API Tags:
Redefinition of:
- DBClient::free()
- ¸Þ¸ð¸® ÇØÁ¦
Redefined in descendants as:
string getClientEncoding(
)
|
|
Ŭ¶óÀÌ¾ðÆ® ÀÎÄÚµùÀ» ¾ò¾î¿Â´Ù.
API Tags:
Return: | ÀÎÄÚµù°ª, ex) utf8, euckr, latin1, ... |
Access: | public |
int getFieldCount(
resource
$result
)
|
|
Äõ¸®ÀÇ °á°ú·Î ³ª¿Â ÇʵåÀÇ °³¼ö¸¦ ¸®ÅÏÇÑ´Ù.
Parameters:
resource |
$result: |
select °á°ú·Î ³ª¿Â resource |
API Tags:
Return: | Çʵ尳¼ö |
Access: | public |
Redefinition of:
- DBClient::getFieldCount()
- ÇÊµå °³¼ö °¡Áö°í ¿À±â
Redefined in descendants as:
string getFieldName(
resource
$result, int
$i
)
|
|
Á¤ÇØÁø À§Ä¡ÀÇ Çʵå À̸§À» ¾ò¾î¿Â´Ù.
Parameters:
resource |
$result: |
select °á°ú·Î ³ª¿Â resource |
int |
$i: |
Çʵå À§Ä¡, óÀ½Àº 0 |
API Tags:
Return: | ÇʵåÀ̸§ |
Access: | public |
Redefinition of:
- DBClient::getFieldName()
- Çʵå À̸§ °¡Áö°í ¿À±â
Redefined in descendants as:
string getFieldType(
resource
$result, int
$i
)
|
|
Á¤ÇØÁø À§Ä¡ÀÇ Çʵå ŸÀÔÀ» ¾ò¾î¿Â´Ù.
Parameters:
resource |
$result: |
select °á°ú·Î ³ª¿Â resource |
int |
$i: |
Çʵå À§Ä¡, óÀ½Àº 0 |
API Tags:
Return: | ÇʵåŸÀÔ |
Access: | public |
Redefinition of:
- DBClient::getFieldType()
- Çʵå ŸÀÔ °¡Áö°í ¿À±â
Redefined in descendants as:
Redefined in descendants as:
DBData getPageData(
string
$query, int
$page, [int
$count = 10], string
$baseClass
)
|
|
select Äõ¸®¿¡ ´ëÇØ¼ ÆäÀÌ¡µÈ DBData¸¦ ¸®ÅÏÇÑ´Ù.
Parameters:
string |
$query: |
select Äõ¸® |
int |
$page: |
ÇöÀç ÆäÀÌÁö |
int |
$count: |
ÆäÀÌÁö´ç ¸®½ºÆ® °³¼ö |
string |
$baseClass: |
DBData ¸¦ »ó¼ÓÇÑ Å¬·¡½º , ±âº»°ª DBData |
Redefinition of:
- DBClient::getPageData()
- paging µÈ DBData ¾ò¾î¿À±â
string getTypeString(
string
$type, mixed
$value, [boolean
$is_null = false]
)
|
|
Çʵå ŸÀÔ(ÀÚ·áÇü)º° DB¿¡ ÀÔ·ÂµÉ ¼ö ÀÖ´Â ¹®ÀÚ¿ ¾ò¾î¿À±â
Parameters:
string |
$type: |
ŸÀÔ¹®ÀÚ¿ |
mixed |
$value: |
ÀԷ°ª |
boolean |
$is_null: |
³ÎÀ» üũÇÒ °ÍÀÎÁö ¿©ºÎ , true ³Îüũ, false ³Î üũ ¾ÈÇÔ |
API Tags:
Return: | º¯È¯µÈ ¹®ÀÚ¿ |
Access: | public |
Redefinition of:
- DBClient::getTypeString()
- Çʵå ŸÀÔ(ÀÚ·áÇü)º° DB¿¡ ÀÔ·ÂµÉ ¼ö ÀÖ´Â ¹®ÀÚ¿ ¾ò¾î¿À±â
±¸Çö¾ÈµÊ
API Tags:
Information Tags:
Redefinition of:
- DBClient::prepare()
- prepare
Redefined in descendants as:
resource query(
string
$sql
)
|
|
ÀÏ¹Ý Äõ¸® ½ÇÇà
Parameters:
string |
$sql: |
½ÇÇàµÉ query |
API Tags:
Return: | ½ÇÇà resource |
Access: | public |
Redefinition of:
- DBClient::query()
- Äõ¸® ½ÇÇàÇϱâ
Redefined in descendants as:
±âº» ¼Ó¼º ÀÌ¿ÜÀÇ ´Ù¸¥¼Ó¼º ½ÇÇàÇÒ ¶§
API Tags:
See: | runOption() |
Access: | public |
Redefinition of:
- DBClient::runOption()
- ¿É¼Ç ½ÇÇà
Ä¿¼ À̵¿
Parameters:
int |
$count: |
À̵¿½Ãų »ó´ëÀ§Ä¡, »çÁ÷ÇàÀº 0 |
API Tags:
Redefinition of:
- DBClient::seek()
- result set À̵¿
Redefined in descendants as:
void selectDB(
$db_name
)
|
|
DB ¼±ÅÃÇϱâ
Parameters:
API Tags:
Redefined in descendants as:
void setEncoding(
[$encoding
$encoding = "utf8"]
)
|
|
¼¹ö ÀÎÄÚµùÀ» ¼³Á¤ÇÑ´Ù.
Parameters:
$encoding |
$encoding: |
string ÀÎÄÚµùŸÀÔ, ±âº»°ª utf8, ÇѱÛÀº euckr |
API Tags:
±¸Çö¾ÈµÊ
API Tags:
Information Tags:
Redefinition of:
- DBClient::spExecute()
- ÇÁ·Î½ÃÀú ½ÇÇà
Redefined in descendants as:
database ¿¬°á »ý¼º
API Tags:
Return: | ¿¬°á resource |
Access: | protected |
Redefinition of:
- DBClient::_connect()
- ¿¬°á ¸®¼Ò½º ¸®ÅÏ
Redefined in descendants as: