How can I extend the form helper for persian language

I need to use new options in any method (input,texterea,...) in the Form helper.

for example :

echo $form->input('fieldname', array ('label' => 'demo', 'direction' => 'rtl' ));
or
echo $form->input('fieldname', array ('label' => 'demo', 'farsiformat' => true ));