add multi function

Summary:
Multi function

modify multi function

Test Plan: phpunit

Reviewers: chenxiaofei

Reviewed By: chenxiaofei

Differential Revision: http://phabricator.example.com/D5