Development

Changeset 7318

You must first sign up to be able to contribute.

Changeset 7318

Show
Ignore:
Timestamp:
02/04/08 11:24:28 (8 months ago)
Author:
fabien
Message:

added sfCommandApplication::getOption() method

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/command/sfCommandApplication.class.php

    r5232 r7318  
    5757 
    5858  /** 
     59   * Returns the value of a given option. 
     60   * 
     61   * @param  string The option name 
     62   * 
     63   * @return mixed  The option value 
     64   */ 
     65  public function getOption($name) 
     66  { 
     67    return isset($this->options[$name]) ? $this->options[$name] : null; 
     68  } 
     69 
     70  /** 
    5971   * Returns the formatter instance. 
    6072   *