Horde_Date_Recurrence::getRecurInterval PHP Méthode

getRecurInterval() public méthode

Retrieves the length of time between recurrences of this event.
public getRecurInterval ( ) : integer
Résultat integer The number of seconds between recurrences.
    public function getRecurInterval()
    {
        return $this->recurInterval;
    }

Usage Example

Exemple #1
0
 /**
  * Return whether or not this object is equal to another recurrence object.
  * The objects are considered equal if the recurrence rules are the same.
  * This does not take any exceptions into account.
  *
  * @param  Horde_Date_Recurrence $recurrence  The recurrence object to check
  *                                            equality to.
  *
  * @return boolean   True if the recurrence rules are the same.
  * @since  2.2.0
  */
 public function isEqual(Horde_Date_Recurrence $recurrence)
 {
     return $this->getRecurType() == $recurrence->getRecurType() && $this->getRecurInterval() == $recurrence->getRecurInterval() && $this->getRecurCount() == $recurrence->getRecurCount() && $this->getRecurEnd() == $recurrence->getRecurEnd() && $this->getRecurStart() == $recurrence->getRecurStart() && $this->getRecurOnDays() == $recurrence->getRecurOnDays();
 }
All Usage Examples Of Horde_Date_Recurrence::getRecurInterval