File_Bittorrent2
[ class tree: File_Bittorrent2 ] [ index: File_Bittorrent2 ] [ all elements ]

Element index for package File_Bittorrent2

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ l ] [ m ] [ n ] [ o ] [ p ] [ s ] [ t ] [ _ ]

_

__construct
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::__construct()
    Constructor
top

a

$announce
in file Decode.php, variable File_Bittorrent2_Decode::$announce
$announce
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$announce
$announce_list
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$announce_list
$announce_list
in file Decode.php, variable File_Bittorrent2_Decode::$announce_list
addDir
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::addDir()
    Internal function which iterates through directories and subdirectories, using _addFile for each file it finds.
addFile
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::addFile()
    Internal function which generates metainfo data for a file
addFiles
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::addFiles()
    Function to add a specific list of files, pass blank to the constructor then call this function
top

b

bdecode
in file Decode.php, method File_Bittorrent2_Decode::bdecode()
    Decode a BEncoded String
buildTorrent
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::buildTorrent()
    Function to build the .torrent file based on the parameters you have set with the set* functions.
top

c

$comment
in file Decode.php, variable File_Bittorrent2_Decode::$comment
$comment
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$comment
$created_by
in file Decode.php, variable File_Bittorrent2_Decode::$created_by
$created_by
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$created_by
closeFile
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::closeFile()
    Internal function to close a file pointer
top

d

$data_gap
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$data_gap
$date
in file Decode.php, variable File_Bittorrent2_Decode::$date
$decoded
in file Decode.php, variable File_Bittorrent2_Decode::$decoded
decode
in file Decode.php, method File_Bittorrent2_Decode::decode()
    Decode a Bencoded string
decode
in file Exception.php, class constant File_Bittorrent2_Exception::decode
decodeFile
in file Decode.php, method File_Bittorrent2_Decode::decodeFile()
    Decode .torrent file and accumulate information
decode_dict
in file Decode.php, method File_Bittorrent2_Decode::decode_dict()
    Decode a BEncoded dictionary
decode_int
in file Decode.php, method File_Bittorrent2_Decode::decode_int()
    Decode a BEncoded integer
decode_list
in file Decode.php, method File_Bittorrent2_Decode::decode_list()
    Decode a BEncoded list
decode_string
in file Decode.php, method File_Bittorrent2_Decode::decode_string()
    Decode a BEncoded string
dirList
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::dirList()
    Internal function which recurses through subdirectory and returns an array of file paths
Decode.php
procedural page Decode.php
top

e

encode
in file Exception.php, class constant File_Bittorrent2_Exception::encode
encode
in file Encode.php, method File_Bittorrent2_Encode::encode()
    Encode a var in BEncode format
encodeTorrent
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::encodeTorrent()
    Internal function which bencodes the data into a valid torrent metainfo string
encode_array
in file Encode.php, method File_Bittorrent2_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.
encode_int
in file Encode.php, method File_Bittorrent2_Encode::encode_int()
    BEncodes a integer
encode_string
in file Encode.php, method File_Bittorrent2_Encode::encode_string()
    BEncodes a string
example_mktorrent.php
procedural page example_mktorrent.php
Encode.php
procedural page Encode.php
Exception.php
procedural page Exception.php
top

f

$filename
in file Decode.php, variable File_Bittorrent2_Decode::$filename
$files
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$files
$files
in file Decode.php, variable File_Bittorrent2_Decode::$files
$fp
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$fp
filesize
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::filesize()
    Internal function to get the filesize of a file. Workaround for files >2GB.
File_Bittorrent2_Decode
in file Decode.php, class File_Bittorrent2_Decode
    Encode data in Bittorrent format
File_Bittorrent2_Encode
in file Encode.php, class File_Bittorrent2_Encode
    Encode data in Bittorrent format
File_Bittorrent2_Exception
in file Exception.php, class File_Bittorrent2_Exception
    Exception for File_Bittorrent2
File_Bittorrent2_MakeTorrent
in file MakeTorrent.php, class File_Bittorrent2_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.
top

g

getAnnounce
in file Decode.php, method File_Bittorrent2_Decode::getAnnounce()
    Returns the the tracker the torrent has been received from
getAnnounceList
in file Decode.php, method File_Bittorrent2_Decode::getAnnounceList()
    Returns the known tracker list of the torrent
getChar
in file Decode.php, method File_Bittorrent2_Decode::getChar()
    Get the char at the current position
getComment
in file Decode.php, method File_Bittorrent2_Decode::getComment()
    Returns the Comment of the torrent
getCreator
in file Decode.php, method File_Bittorrent2_Decode::getCreator()
    Returns the Creator info of the torrent
getDate
in file Decode.php, method File_Bittorrent2_Decode::getDate()
    Returns the Date of the torrent
getFilename
in file Decode.php, method File_Bittorrent2_Decode::getFilename()
    Returns the Filename of the torrent
getFiles
in file Decode.php, method File_Bittorrent2_Decode::getFiles()
    Returns the Files of the torrent
getInfoHash
in file Decode.php, method File_Bittorrent2_Decode::getInfoHash()
    Returns the info hash of the torrent
getName
in file Decode.php, method File_Bittorrent2_Decode::getName()
    Returns the Name of the torrent
getStats
in file Decode.php, method File_Bittorrent2_Decode::getStats()
    Returns the online stats for the torrent
top

i

$is_dir
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$is_dir
$is_file
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$is_file
$is_multifile
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$is_multifile
$is_private
in file Decode.php, variable File_Bittorrent2_Decode::$is_private
$is_private
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$is_private
isPrivate
in file Decode.php, method File_Bittorrent2_Decode::isPrivate()
    Returns whether the torrent is marked as 'private'
top

l

$last_error
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$last_error
top

m

MakeTorrent.php
procedural page MakeTorrent.php
make
in file Exception.php, class constant File_Bittorrent2_Exception::make
top

n

$name
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$name
$name
in file Decode.php, variable File_Bittorrent2_Decode::$name
top

o

openFile
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::openFile()
    Internal function to open a file.
top

p

$path
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$path
$pieces
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$pieces
$piece_length
in file MakeTorrent.php, variable File_Bittorrent2_MakeTorrent::$piece_length
$position
in file Decode.php, variable File_Bittorrent2_Decode::$position
top

s

$size
in file Decode.php, variable File_Bittorrent2_Decode::$size
$source
in file Decode.php, variable File_Bittorrent2_Decode::$source
$source_length
in file Decode.php, variable File_Bittorrent2_Decode::$source_length
scrape.php
procedural page scrape.php
setAnnounce
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::setAnnounce()
    Function to set the announce URL for the .torrent file
setAnnounceList
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::setAnnounceList()
    Function to set the announce list for the .torrent file
setComment
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::setComment()
    Function to set the comment for the .torrent file
setIsPrivate
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::setIsPrivate()
    Sets whether the torrent is marked as 'private'
setName
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::setName()
    Function to set the name for the .torrent file
setPath
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::setPath()
    Function to set the path for the file/dir to make the .torrent for Can also be set through the constructor.
setPieceLength
in file MakeTorrent.php, method File_Bittorrent2_MakeTorrent::setPieceLength()
    Function to set the piece length for the .torrent file.
source
in file Exception.php, class constant File_Bittorrent2_Exception::source
top

t

torrentinfo.php
procedural page torrentinfo.php
top

Documentation generated on Mon, 11 Mar 2019 15:31:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.