src/folder/Item.php
public function getParent()
    {
        return (!empty($this->getParentId())) ? Yii::$app->storage->getFolder($this->getParentId()) : false;
    }
public function getParent()
    {
        return (!empty($this->getParentId())) ? Yii::$app->storage->getFolder($this->getParentId()) : false;
    }
public function getParent ( ) { return ( ! empty ( $ this -> getParentId ( ) ) ) ? Yii :: $ app -> storage -> getFolder ( $ this -> getParentId ( ) ) : false ; }
Get the parent folder object.

@return boolean|\luya\admin\folder\Item The item object or false if not found.
Get the parent folder object .