phpDocumentor php-ui-winbinder
[ class tree: php-ui-winbinder ] [ index: php-ui-winbinder ] [ all elements ]

Class: WBSystem

Source Location: /php/ui/winbinder/WBSystem.php

Class WBSystem

Class Overview

Window System Ŭ·¡½º

  1. ¸í·É¾î ½ÇÇà
  2. ½Ã½ºÅÛ(OS) Á¤º¸ °¡Á®¿À±â
  3. phpw ½ºÅ©¸³Æ® ½ÇÇà
¸ðµç ¸Þ¼Òµå´Â static ÀÌ´Ù.

Located in /php/ui/winbinder/WBSystem.php [line 19]

PObject
   |
   --WBSystem

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From PObject

PObject::__construct()
»ý¼ºÀÚ
PObject::display()
°´Ã¼ ¹®ÀÚ¿­À» Ãâ·Â
PObject::equals()
°´Ã¼ ºñ±³ (¼öÁ¤ ÇÊ¿ä)
PObject::getClass()
PObject::getObjValue()
°´Ã¼ÀÎÁö ¾Æ´ÑÁö ÆÇº°Çؼ­ PObject Çü °´Ã¼À̸é toString() ¸Þ¼Òµå·Î ¹®ÀÚ¿­À» ¹ÝȯÇϰí ÀÏ´Ü ÀÚ·áÇüÀÌ¸é ±× ÇüÅ ±×´ë·Î ¸®ÅÏÇÑ´Ù
PObject::isObject()
°´Ã¼ È®ÀÎ
PObject::toString()
°´Ã¼ ¹®ÀÚ¿­·Î º¯È¯
PObject::__toString()
magic methods Ãß°¡ , toString() ÀÇ °ªÀ» ±×´ë·Î ¸®ÅÏÇÑ´Ù.

[ Top ]
Method Summary
static void   command()   cmd ¸í·É¾î ½ÇÇà , ¸í·É¾î ½ÇÇàâÀ» ¿¬´Ù.
static void   exec()   ¸í·É¾î¸¦ ½ÇÇàÇÑ´Ù.
static void   findFile()   Windows or system32 µð·ºÅ丮¿¡¼­ ÆÄÀÏÀ» °Ë»öÇÑ´Ù.
static array   getAvailableScreen()   À̿밡´ÉÇÑ È­¸é ÇØ»óµµ¸¦ ±¸ÇÑ´Ù.
static array   getFontInfo()   ÆùÆ® Á¤º¸¸¦ °¡Áö°í ¿Â´Ù.
static mixed   getRegistry()   µî·ÏµÈ ·¹Áö½ºÆ®¸® °ªÀ» °¡Áö°í ¿Â´Ù.
static array   getScreen()   È­¸é Àüü ÇØ»óµµ¸¦ ±¸ÇÑ´Ù.
static void   info()   Windows(OS) ½Ã½ºÅÛ Á¤º¸¸¦ ¾ò¾î¿Â´Ù.
static void   isRunInstance()   phpw ½ºÅ©¸³Æ®·Î ½ÇÇàÇÑ À©µµ¿ìÀÇ ÀνºÅϽºÀÇ ½ÇÇà¿©ºÎ¸¦ üũÇÑ´Ù.
static void   mail()   ¸ÞÀÏ ÇÁ·Î±×·¥À» ¿ÀÇÂ
static void   open()   µð·ºÅ丮 ¿ÀÇÂ
static void   play()   ½Ã½ºÅÛ »ç¿îµå¸¦ Àç»ýÇÑ´Ù.
static void   run()   À©µµ¿ì ½Ã½ºÅÛ ¸í·É¾î ½ÇÇà
static void   script()   phpw ½ºÅ©¸³Æ® ½ÇÇà
static void   setRegistry()   ·¹Áö½ºÆ®¸® °ªÀ» µî·ÏÇÑ´Ù.
static void   url()   ¿ÜºÎ ºê¶ó¿ìÀú¸¦ ÀÌ¿ëÇÏ¿© urlÀ» ½ÇÇàÇÑ´Ù.
static void   wait()   Űº¸µå³ª ¸¶¿ì½º À̺£Æ®°¡ ÀϾ ¶§±îÁö ½Ã°£À» µô·¹ÀÌ ½ÃŲ´Ù.

[ Top ]
Methods
static method command  [line 45]

  static void command( )

cmd ¸í·É¾î ½ÇÇà , ¸í·É¾î ½ÇÇàâÀ» ¿¬´Ù.


API Tags:
Access:  public


[ Top ]
static method exec  [line 36]

  static void exec( string $command, [string $param = '']  )

¸í·É¾î¸¦ ½ÇÇàÇÑ´Ù.

Parameters:
string   $command:  ½ÇÇàµÉ ¸í·É¾î
string   $param:  ¸í·É¾î¿¡ µé¾î°¡´Â Àμö

API Tags:
Access:  public


[ Top ]
static method findFile  [line 26]

  static void findFile( string $filename  )

Windows or system32 µð·ºÅ丮¿¡¼­ ÆÄÀÏÀ» °Ë»öÇÑ´Ù.

Parameters:
string   $filename:  °Ë»öµÉ ÆÄÀÏ À̸§

API Tags:
Access:  public


[ Top ]
static method getAvailableScreen  [line 274]

  static array getAvailableScreen( )

À̿밡´ÉÇÑ È­¸é ÇØ»óµµ¸¦ ±¸ÇÑ´Ù.

½ÃÀÛÅø¹Ù¸¦ Á¦¿ÜÇÑ Å©±â¸¦ ±¸ÇÑ´Ù.


API Tags:
Return:  x,y,width,height ÀÇ ¿¬°ü¹è¿­
Access:  public


[ Top ]
static method getFontInfo  [line 242]

  static array getFontInfo( )

ÆùÆ® Á¤º¸¸¦ °¡Áö°í ¿Â´Ù.

¹è¿­ÇüÅ·ΠÁ¤¸®Çؼ­ °¡Áö°í ¿Â´Ù.


API Tags:
Return:  font,size,type ÀÇ ¿¬°ü ¹è¿­
Access:  public


[ Top ]
static method getRegistry  [line 135]

  static mixed getRegistry( string $key, string $subkey, [string $entry = '']  )

µî·ÏµÈ ·¹Áö½ºÆ®¸® °ªÀ» °¡Áö°í ¿Â´Ù.

  1.  // ¸ÞÀÎŰ Á¾·ù
  2.  "HKCU" or "HKEY_CURRENT_USER"
  3.  "HKLM" or "HKEY_LOCAL_MACHINE"
  4.  "HKCR" or "HKEY_CLASSES_ROOT"
  5.  "HKU" or "HKEY_USERS"
  6.  "HKCC" or "HKEY_CURRENT_CONFIG"
  7.  "HKD" or "HKEY_DYN_DATA"

Parameters:
string   $key:  ¸ÞÀΠŰ
string   $subkey:  ¼­ºêŰ
string   $entry:  ¿£Æ®¸®

API Tags:
Return:  µî·ÏµÈ ·¹Áö½ºÆ®¸® °ª
Access:  public


[ Top ]
static method getScreen  [line 257]

  static array getScreen( )

È­¸é Àüü ÇØ»óµµ¸¦ ±¸ÇÑ´Ù.


API Tags:
Return:  x,y,width,height ÀÇ ¿¬°ü¹è¿­
Access:  public


[ Top ]
static method info  [line 231]

  static void info( string $info  )

Windows(OS) ½Ã½ºÅÛ Á¤º¸¸¦ ¾ò¾î¿Â´Ù.

 - appmemory (string)
   The total memory used by the application

 - commandline (string)
   The original Windows command line including the executable file

 - computername (string)
   The name of the computer inside the network

 - consolemode (integer)
   1 indicates that console mode (DOS box) is active, 0 otherwise

 - diskdrives (string)
   The list of all available disk drives

 - exepath (string)
   The path to the main executable (PHP.EXE)

 - extensionpath (string)
   The path to the current PHP extension

 - fontpath (string)
   The current font path

 - freememory (integer)
   The available physical memory

 - gdiobjects (integer)
   The number of currently allocated GDI handles

 - instance (instance)
   The instance identifier of the current application

 - ospath (string)
   The current OS path

 - osversion (string)
   The complete OS version name

 - osnumber (string)
   The numeric OS version number

 - pgmpath (string)
   The default OS application path

 - screenarea (string)
   The total area (x, y, width, height) of the screen, in pixels
   ex) 0 0 1280 960

 - systemfont (string)
   The common (default) system font for dialog boxes
   ex) Tahoma 8 Regular

 - systempath (string)
   The OS system path

 - temppath (string)
   The path used by the OS to hold temporary files

 - totalmemory (string)
   The total physical memory installed

 - username (string)
   The name of the currently logged user

 - userobjects (integer)
   The number of currently allocated USER handles

 - workarea (string)
   The valid area (x, y, width, height) of the screen, in pixels
   ex) 0 0 1280 926

Parameters:
string   $info:  ½Ã½ºÅÛ Á¤º¸ Ű¿öµå

API Tags:
Access:  public


[ Top ]
static method isRunInstance  [line 112]

  static void isRunInstance( string $title, [bool $bring = false]  )

phpw ½ºÅ©¸³Æ®·Î ½ÇÇàÇÑ À©µµ¿ìÀÇ ÀνºÅϽºÀÇ ½ÇÇà¿©ºÎ¸¦ üũÇÑ´Ù.

Parameters:
string   $title:  ÀνºÅϽº°¡ »ý¼ºµÈ À©µµ¿ì Á¦¸ñ
bool   $bring:  true ÀÌ¸é ½ÇÇàµÈ À©µµ¿ì ÀνºÅϽº¸¦ °¡Áö°í ¿Â´Ù. ±âº»°ªÀº false.

API Tags:
Access:  public


[ Top ]
static method mail  [line 67]

  static void mail( string $mailto  )

¸ÞÀÏ ÇÁ·Î±×·¥À» ¿ÀÇÂ

Parameters:
string   $mailto:  ¸ÞÀÏ ÁÖ¼Ò

API Tags:
Access:  public


[ Top ]
static method open  [line 86]

  static void open( [string $dir = '']  )

µð·ºÅ丮 ¿ÀÇÂ

Parameters:
string   $dir:  ¿­¸± µð·ºÅ丮, °ø¹éÀϰæ¿ì ÇöÀç µð·ºÅ丮

API Tags:
Access:  public


[ Top ]
static method play  [line 300]

  static void play( int|string $style  )

½Ã½ºÅÛ »ç¿îµå¸¦ Àç»ýÇÑ´Ù.

 WBC_OK : Default system sound
 WBC_INFO : System information sound
 WBC_WARNING : Warning sound
 WBC_STOP : Error sound
 WBC_QUESTION : Question sound
 WBC_BEEP :

Parameters:
int|string   $style:  »ó¼ö

API Tags:
Access:  public


[ Top ]
static method run  [line 77]

  static void run( string $command, [string $param = '']  )

À©µµ¿ì ½Ã½ºÅÛ ¸í·É¾î ½ÇÇà

Parameters:
string   $command:  ½ÇÇàµÉ ¸í·É¾î
string   $param:  ¸í·É¾î Àμö

API Tags:
Access:  public


[ Top ]
static method script  [line 98]

  static void script( string $phpw, [string $param = '']  )

phpw ½ºÅ©¸³Æ® ½ÇÇà

Parameters:
string   $phpw:  ½ºÅ©¸³Æ® ÆÄÀÏ (.phpw)
string   $param:  ¸í·É¾î Àμö

API Tags:
Access:  public


[ Top ]
static method setRegistry  [line 148]

  static void setRegistry( string $key, string $subkey, [string $entry = ''], [mixed $value = null]  )

·¹Áö½ºÆ®¸® °ªÀ» µî·ÏÇÑ´Ù.

Parameters:
string   $key:  ¸ÞÀΠŰ
string   $subkey:  ¼­ºêŰ
string   $entry:  ¿£Æ®¸®
mixed   $value:  µî·ÏµÉ ·¹Áö½ºÆ®¸® °ª

API Tags:
Access:  public


[ Top ]
static method url  [line 54]

  static void url( string $url  )

¿ÜºÎ ºê¶ó¿ìÀú¸¦ ÀÌ¿ëÇÏ¿© urlÀ» ½ÇÇàÇÑ´Ù.

Parameters:
string   $url:  À̵¿ÇÒ url

API Tags:
Access:  public


[ Top ]
static method wait  [line 326]

  static void wait( [handle $window = 0], [int $pause = 0], [int $flags = 0], int 3  )

Űº¸µå³ª ¸¶¿ì½º À̺£Æ®°¡ ÀϾ ¶§±îÁö ½Ã°£À» µô·¹ÀÌ ½ÃŲ´Ù.

  1.  // Å° ÀÔ·ÂÀÌ ÀÖÀ» ¶§ ±îÁö µô·¹ÀÌ
  2.  if (WBSystem::wait(== 27{
  3.     echo "esc key pressed ";
  4.  }
  5.  
  6.  // 5ÃÊ ¶Ç´Â keyboard Å°¸¦ ´­·¶À» ¶§
  7.  WBSystem::wait($window5000WBC_KEYDOWN)

Parameters:
handle   $window:  winbinder À©µµ¿ì ÇÚµé
int   $pause:  µô·¹ÀÌ ½Ã°£ , 1000ºÐÀÇ 1ÃÊ ´ÜÀ§, ex) 5000 = 5ÃÊ
int   $flags:  »ó¼ö WBC_MOUSEDOWN, WBC_MOUSEUP, WBC_KEYDOWN, WBC_KEYUP
int   3:  key code

API Tags:
Access:  public


[ Top ]

Documentation generated on Wed, 09 Dec 2009 10:49:06 +0900 by phpDocumentor 1.4.3