X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Finstaclick%2Fphp-webdriver%2Flib%2FWebDriver%2FIme.php;fp=vendor%2Finstaclick%2Fphp-webdriver%2Flib%2FWebDriver%2FIme.php;h=37ea785b9640f596e71145132e87ba96818e957f;hp=0000000000000000000000000000000000000000;hb=1270d9129ce8f27c9b28b10518e32132c58e0aca;hpb=c27c0f0cdaa3f354b1fe54a56ae7e854be6e3f68 diff --git a/vendor/instaclick/php-webdriver/lib/WebDriver/Ime.php b/vendor/instaclick/php-webdriver/lib/WebDriver/Ime.php new file mode 100644 index 000000000..37ea785b9 --- /dev/null +++ b/vendor/instaclick/php-webdriver/lib/WebDriver/Ime.php @@ -0,0 +1,50 @@ + + */ + +namespace WebDriver; + +/** + * WebDriver\Ime class + * + * @package WebDriver + * + * @method array available_engines() List all available engines on the machines. + * @method string active_engine() Get the name of the active IME engine. + * @method boolean activated() Indicates whether IME input is active at the moment. + * @method void deactivate() De-activates the currently active IME engine. + * @method void activate($json) Make an engine that is available active. + */ +final class Ime extends AbstractWebDriver +{ + /** + * {@inheritdoc} + */ + protected function methods() + { + return array( + 'available_engines' => array('GET'), + 'active_engine' => array('GET'), + 'activated' => array('GET'), + 'deactivate' => array('POST'), + 'activate' => array('POST'), + ); + } +}