public function getImgFolderPath($id, $folder) { $path = ROOT_PATH . $this->getImgFolder($id, $folder); myFunc::prepareDir($path); return $path; }