<?php
 namespace TechSoft\Laravel\Admin\Cms\Field; use Illuminate\Support\Facades\View; class FieldNumber extends BaseField { public function addHtml() { return View::make('admin::cms.field.number.add', [ 'key' => &$this->key, 'field' => &$this->field, 'default' => $this->default, ])->render(); } public function editHtml(&$data) { return View::make('admin::cms.field.number.edit', [ 'key' => &$this->key, 'field' => &$this->field, 'data' => &$data ])->render(); } public function searchHtml() { return View::make('admin::cms.field.number.search', [ 'key' => &$this->key, 'field' => &$this->field, ])->render(); } }