original_string: public function addDataSource(HTML_QuickForm2_DataSource $datasource)
      {
          $this->getSessionContainer()->storeDatasources(
              array_merge($this->getSessionContainer()->getDatasources(),
                          array($datasource))
          );
      }
code: public function addDataSource(HTML_QuickForm2_DataSource $datasource)
      {
          $this->getSessionContainer()->storeDatasources(
              array_merge($this->getSessionContainer()->getDatasources(),
                          array($datasource))
          );
      }
code_tokens: public function addDataSource ( HTML_QuickForm2_DataSource $ datasource ) { $ this -> getSessionContainer ( ) -> storeDatasources ( array_merge ( $ this -> getSessionContainer ( ) -> getDatasources ( ) , array ( $ datasource ) ) ) ; }
docstring: Adds a new data source to the Controller
  
  Note that Controller data sources are stored in session, so your data source
  implementation should properly handle its (un)serialization.
  
  @param    HTML_QuickForm2_DataSource  Data source
docstring_tokens: Adds a new data source to the Controller