public function DateTimePlus::inputIsArray

Checks if input is an array of date parts.

Return value

boolean TRUE if the input time is a DateTime object.

1 call to DateTimePlus::inputIsArray()
DateTimePlus::__construct in drupal/core/lib/Drupal/Component/Datetime/DateTimePlus.php
Constructs a date object set to a requested date and timezone.

File

drupal/core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 346
Definition of Drupal\Component\Datetime\DateTimePlus

Class

DateTimePlus
Extends DateTime().

Namespace

Drupal\Component\Datetime

Code

public function inputIsArray() {
  return is_array($this->inputTimeAdjusted);
}