class Date extends Datetime
{
protected $_adminType = 'date_picker';
+ protected $_viewNamespace = 'backpack.pro::fields';
+
protected $_databaseType = 'date';
protected $_cast = 'date';
protected $_columnType = 'date';
class Datetime extends Field
{
protected $_adminType = 'datetime_picker';
+ protected $_viewNamespace = 'backpack.pro::fields';
protected $_cast = 'datetime';
protected $_pickerFormat = 'yyyy-mm-dd hh:ii';
protected $_databaseType = 'datetime';
class Phone extends Text
{
-
+ protected $_viewNamespace = 'backpack.pro::fields';
+ protected $_adminType = 'phone';
}
namespace Cubist\Backpack\Magic\Fields;
+use Cubist\Backpack\CubistBackpackServiceProvider;
+
class Table extends Field
{
protected $_adminType = 'table';
+ protected $_viewNamespace = 'backpack.pro::fields';
+
protected $_databaseType = 'text';
protected $_translatable = true;