Development

Changeset 14814

You must first sign up to be able to contribute.

Changeset 14814

Show
Ignore:
Timestamp:
01/16/09 18:08:43 (4 years ago)
Author:
jerome.etienne
Message:

added a getIntance()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfMicroBlogPlugin/lib/sfMicroBlog.class.php

    r14604 r14814  
    5050    } 
    5151  } 
     52 
     53  /** 
     54   * Retrieves a new instance of this class. 
     55   * 
     56   * NOTE: This is not the singleton pattern. Instead, it is for chainability ease-of-use. 
     57   *  
     58   * @param array $options the options to set up sfMicroBlog 
     59   */ 
     60  public static function getInstance($options = null) 
     61  { 
     62    return new sfMicroblog($options); 
     63  } 
     64 
    5265   
    5366  /**