frontend/models/EarningsFilterForm.php
/**
     * Prepares and returns form data
     *
     * @return array|boolean
     */
Prepares and returns form data
@return array|boolean
Prepares and returns form data @return array|boolean
public function prepareData ()
    {
        if ($this->validate()) {
            return [
                $this->refLinkId,
                Yii::$app->formatter->asTimestamp($this->startDate),
                Yii::$app->formatter->asTimestamp($this->endDate),
            ];
        } else {
            return false;
        }
    }
public function prepareData ( ) { if ( $ this -> validate ( ) ) { return [ $ this -> refLinkId , Yii :: $ app -> formatter -> asTimestamp ( $ this -> startDate ) , Yii :: $ app -> formatter -> asTimestamp ( $ this -> endDate ) , ] ; } else { return false ; } }
Prepares and returns form data
 @return array|boolean
Prepares and returns form data @return array|boolean