|
@@ -58,16 +58,6 @@ trait ModelTree
|
|
|
return empty($this->parentColumn) ? 'parent_id' : $this->parentColumn;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Set parent column.
|
|
|
- *
|
|
|
- * @param string $column
|
|
|
- */
|
|
|
- public function setParentColumn(string $column)
|
|
|
- {
|
|
|
- $this->parentColumn = $column;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Get title column.
|
|
|
*
|
|
@@ -78,16 +68,6 @@ trait ModelTree
|
|
|
return empty($this->titleColumn) ? 'title' : $this->titleColumn;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Set title column.
|
|
|
- *
|
|
|
- * @param string $column
|
|
|
- */
|
|
|
- public function setTitleColumn(string $column)
|
|
|
- {
|
|
|
- $this->titleColumn = $column;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Get order column name.
|
|
|
*
|
|
@@ -98,16 +78,6 @@ trait ModelTree
|
|
|
return empty($this->orderColumn) ? 'order' : $this->orderColumn;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Set order column.
|
|
|
- *
|
|
|
- * @param string $column
|
|
|
- */
|
|
|
- public function setOrderColumn(string $column)
|
|
|
- {
|
|
|
- $this->orderColumn = $column;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Set query callback to model.
|
|
|
*
|