芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Models/BaseModel.php
--'; foreach ($items as $item) { $name = is_null($columnName) ? $item->name : $item->{$columnName}; $selected = (!is_null($group) && ($item->id == $group->id)) ? 'selected' : ''; $options .= '
' . ($name) . '
'; } return $options; } public static function clickAbleLink($route, $title, $other = null) { return '
' . $title . '
' . $other . '
'; } // Added this for $dates public function getDates() { if (!$this->usesTimestamps()) { return $this->dates; } $defaults = [ $this->getCreatedAtColumn(), $this->getUpdatedAtColumn(), ]; return array_unique(array_merge($this->dates, $defaults)); } }