예제 #1
0
 /**
  * Creates a form label.
  *
  * @param   string  target input
  * @param   string  label text
  * @param   array   html attributes
  * @return  string
  */
 public function label($input, $text = NULL, array $attributes = NULL)
 {
     return Kohana_Form::label($input, $text, $attributes);
 }
예제 #2
0
파일: form.php 프로젝트: TdroL/hurtex
 public static function label($input, $text = NULL, array $attributes = NULL)
 {
     return parent::label($input, $text, $attributes) . PHP_EOL;
 }