getCategoryPath() public method

Returns the category path.
public getCategoryPath ( ) : string
return string
コード例 #1
0
ファイル: Part.php プロジェクト: fulcrum3d/PartKeepr
 /**
  * Returns the category path
  * @Groups({"default"})
  *
  * @return string
  */
 public function getCategoryPath()
 {
     if ($this->category !== null) {
         return $this->category->getCategoryPath();
     } else {
         return "";
     }
 }