コード例 #1
0
ファイル: Storage.php プロジェクト: borkweb/shopp
 /**
  * Renders a text input
  *
  * @author Jonathan Davis
  * @since 1.1
  *
  * @param int $column The table column to add the element to
  * @param array $attributes Element attributes; requires a 'name' attribute
  *
  * @return void
  **/
 public function textarea($column = 0, array $attributes = array())
 {
     if (isset($attributes['name'])) {
         $name = $attributes['name'];
         $attributes['value'] = '${' . $name . '}';
         $attributes['name'] .= '][${context}';
     }
     parent::textarea($column, $attributes);
 }
コード例 #2
0
ファイル: Gateway.php プロジェクト: forthrobot/inuvik
 public function textarea($column = 0, array $attributes = array())
 {
     $this->multifield($attributes);
     parent::textarea($column, $attributes);
 }