public function RlDateRecurRule::getParts in Recurring Dates Field 3.0.x
Same name and namespace in other branches
- 8.2 src/Rl/RlDateRecurRule.php \Drupal\date_recur\Rl\RlDateRecurRule::getParts()
- 3.x src/Rl/RlDateRecurRule.php \Drupal\date_recur\Rl\RlDateRecurRule::getParts()
- 3.1.x src/Rl/RlDateRecurRule.php \Drupal\date_recur\Rl\RlDateRecurRule::getParts()
Get the RULE parts.
For example, "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;" will return:
[
'BYDAY' => 'MO,TU,WE,TH,FR',
'DTSTART' => \DateTime(...),
'FREQ' => 'WEEKLY',
]
Return value
array The parts of the RRULE.
Overrides DateRecurRuleInterface::getParts
File
- src/
Rl/ RlDateRecurRule.php, line 46
Class
- RlDateRecurRule
- RRule object.
Namespace
Drupal\date_recur\RlCode
public function getParts() : array {
return $this->parts;
}