/** * Gets first child if it exists * * @param PropelPDO $con Connection to use. * @return mixed Propel object if exists else false */ public function retrieveFirstChild(PropelPDO $con = null) { if ($this->hasChildren($con)) { if (is_array($this->_children)) { return $this->_children[0]; } return sfBreadNavPeer::retrieveFirstChild($this, $con); } return false; }