in file MakeTorrent.php, method File_Bittorrent_MakeTorrent::buildTorrent() Function to build the .torrent file based on the parameters you have set with the set* functions.
in file Encode.php, method File_Bittorrent_Encode::encode_array() BEncodes an array This code assumes arrays with purely integer indexes are lists, arrays which use string indexes assumed to be dictionaries.
in file MakeTorrent.php, class File_Bittorrent_MakeTorrent Provides a class for making .torrent files from a file or directory. Produces virtually identical torrent files as btmaketorrent.py from Bram Cohen's original BT client.
in file MakeTorrent.php, method File_Bittorrent_MakeTorrent::setPath() Function to set the path for the file/dir to make the .torrent for Can also be set through the constructor.