public function getPrevSibling(ConnectionInterface $con = null)
    {
        return ChildCategoryQuery::create()
            ->filterByTreeRight($this->getLeftValue() - 1)
            ->findOne($con);
    }
public function getPrevSibling(ConnectionInterface $con = null)
    {
        return ChildCategoryQuery::create()
            ->filterByTreeRight($this->getLeftValue() - 1)
            ->findOne($con);
    }
public function getPrevSibling ( ConnectionInterface $ con = null ) { return ChildCategoryQuery :: create ( ) -> filterByTreeRight ( $ this -> getLeftValue ( ) - 1 ) -> findOne ( $ con ) ; }
Gets previous sibling for the given node if it exists

@param      ConnectionInterface $con Connection to use.
@return     ChildCategory|null         Propel object if exists else null
Gets previous sibling for the given node if it exists