public function canCreateTickets()
    {
        $currentDate = $this->owner->getController()->CurrentDate();
        if ($currentDate && $currentDate->exists()) {
            return $currentDate->dbObject('StartDate')->InFuture();
        }

        return false;
    }
public function canCreateTickets()
    {
        $currentDate = $this->owner->getController()->CurrentDate();
        if ($currentDate && $currentDate->exists()) {
            return $currentDate->dbObject('StartDate')->InFuture();
        }

        return false;
    }
public function canCreateTickets ( ) { $ currentDate = $ this -> owner -> getController ( ) -> CurrentDate ( ) ; if ( $ currentDate && $ currentDate -> exists ( ) ) { return $ currentDate -> dbObject ( 'StartDate' ) -> InFuture ( ) ; } return false ; }
Check if the current event can have tickets

@return bool
Check if the current event can have tickets