src/components/CategoryManager.php
public function reload ()
		{
			$class = $this->_modelClass;

			$this->_root = $class::find()->roots()->one();
			$this->_data = $this->_root->children()->all();
			$this->buildPaths();
		}
public function reload ()
		{
			$class = $this->_modelClass;

			$this->_root = $class::find()->roots()->one();
			$this->_data = $this->_root->children()->all();
			$this->buildPaths();
		}
public function reload ( ) { $ class = $ this -> _modelClass ; $ this -> _root = $ class :: find ( ) -> roots ( ) -> one ( ) ; $ this -> _data = $ this -> _root -> children ( ) -> all ( ) ; $ this -> buildPaths ( ) ; }
Reloads data from database.
Reloads data from database .