For example, if your mining equipment contributed 2.5% of the total hashes since the previous block was found, you will receive 2.5% of the block reward, and 2.5% of the mining fees.
I don't want to be a negative nelly, but I believe you're describing the PROP payout method, which can be abused ...