original_string: public function addFromString($localname , $contents)
      {
          return $this->pclZip->add(
              array(
                  array(
                      PCLZIP_ATT_FILE_NAME    => $localname,
                      PCLZIP_ATT_FILE_CONTENT => $contents,
                  )
              )
          );
      }
code: public function addFromString($localname , $contents)
      {
          return $this->pclZip->add(
              array(
                  array(
                      PCLZIP_ATT_FILE_NAME    => $localname,
                      PCLZIP_ATT_FILE_CONTENT => $contents,
                  )
              )
          );
      }
code_tokens: public function addFromString ( $ localname , $ contents ) { return $ this -> pclZip -> add ( array ( array ( PCLZIP_ATT_FILE_NAME => $ localname , PCLZIP_ATT_FILE_CONTENT => $ contents , ) ) ) ; }
docstring: Add a file to a ZIP archive using its contents
  
  @param string $localname The name of the entry to create.
  @param string $contents  The contents to use to create the entry. It is used in a binary safe mode.
  
  @return boolean
docstring_tokens: Add a file to a ZIP archive using its contents