/** * Tests if $node has prev sibling * * @param sfBreadNav $node Propel object for node * @param PropelPDO $con Connection to use. * @return bool */ public static function hasPrevSibling(NodeObject $node, PropelPDO $con = null) { return sfBreadNavPeer::isValid(sfBreadNavPeer::retrievePrevSibling($node, $con)); }