System_Launcher
[ class tree: System_Launcher ] [ index: System_Launcher ] [ all elements ]

Source for file Driver.php

Documentation is available at Driver.php

  1. <?php
  2.  
  3. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  4.  
  5. /**
  6.  * Launch files with the associated application.
  7.  *
  8.  * PHP version 5
  9.  * 
  10.  * @category System
  11.  * @package  System_Launcher
  12.  * @author   Christian Weiske <cweiske@php.net>
  13.  * @author   Olle Jonsson <olle.jonsson@gmail.com>
  14.  * @license  http://www.gnu.org/licenses/lgpl.html LGPL
  15.  * @link     http://github.com/olleolleolle/System_Launcher
  16.  * @since    File available since Release 0.1.0
  17.  */
  18.  
  19. /**
  20.  * Interface for OS and desktop command sources.
  21.  *
  22.  * @category System
  23.  * @package  System_Launcher
  24.  * @author   Christian Weiske <cweiske@php.net>
  25.  * @author   Olle Jonsson <olle.jonsson@gmail.com>
  26.  * @license  http://www.gnu.org/licenses/lgpl.html LGPL
  27.  * @link     http://github.com/olleolleolle/System_Launcher
  28.  * @since    File available since Release 0.1.0
  29.  */
  30. {
  31.     /**
  32.      * What is the opener command?
  33.      *
  34.      * @param boolean $runInBackground Should this window be a background
  35.      *  window?
  36.      * 
  37.      * @return Command template usable with sprintf
  38.      */
  39.     public function getCommand($runInBackground);
  40.     /**
  41.      * Does this apply to the current operating system?
  42.      *
  43.      * @return true if this class applies to current OS
  44.      */
  45.     public function applies();
  46. }

Documentation generated on Wed, 02 Jan 2013 22:00:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.