public function getProperty($rel = null)
    {
        if ($rel == null) {
            return $this->_property;
        } else {
            foreach ($this->_property as $p) {
                if ($p->rel == $rel) {
                    return $p;
                }
            }
            return null;
        }
    }
public function getProperty($rel = null)
    {
        if ($rel == null) {
            return $this->_property;
        } else {
            foreach ($this->_property as $p) {
                if ($p->rel == $rel) {
                    return $p;
                }
            }
            return null;
        }
    }
public function getProperty ( $ rel = null ) { if ( $ rel == null ) { return $ this -> _property ; } else { foreach ( $ this -> _property as $ p ) { if ( $ p -> rel == $ rel ) { return $ p ; } } return null ; } }
Returns all property tags for this entry

@param string $rel The rel value of the property to be found. If null,
the array of properties is returned instead.
@return mixed Either an array of Zend_Gdata_Gapps_Extension_Property
objects if $rel is null, a single
Zend_Gdata_Gapps_Extension_Property object if $rel is specified
and a matching feed link is found, or null if $rel is
specified and no matching property is found.
Returns all property tags for this entry