コード例 #1
0
ファイル: Forms.php プロジェクト: techart/tao
 /**
  * @param string $source
  * @param array $attributes
  * @return string
  */
 public function submit_image($t, $src, array $attributes = array())
 {
     return $t->tag('input', Core_Arrays::merge(array('type' => 'image', 'src' => Templates_HTML::helper('assets')->image_path_for($src), 'id' => "{$this->form->name}_form_submit"), $attributes)) . "\n";
 }