src/components/CategoryManager.php
public function getByGuidPath ($guidPath)
		{
			foreach ($this->_data as $category)
				if ($category->guidPath === $guidPath)
					return $category;

			return null;
		}
public function getByGuidPath ($guidPath)
		{
			foreach ($this->_data as $category)
				if ($category->guidPath === $guidPath)
					return $category;

			return null;
		}
public function getByGuidPath ( $ guidPath ) { foreach ( $ this -> _data as $ category ) if ( $ category -> guidPath === $ guidPath ) return $ category ; return null ; }
Gets single category by its GUID path.
@param string $guidPath
@return Category|null
Gets single category by its GUID path .