src/Entity/XiboSchedule.php
public function createEventCommand($fromDt, $commandId, $displayGroupIds, $recurrenceType, $recurrenceDetail, $recurrenceRange, $displayOrder, $isPriority, $syncTimezone)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->eventTypeId = 2;
        $this->fromDt = $fromDt;
        $this->commandId = $commandId;
        $this->displayGroupIds = $displayGroupIds;
        $this->recurrenceType = $recurrenceType;
        $this->recurrenceDetail = $recurrenceDetail;
        $this->recurrenceRange = $recurrenceRange;
        $this->displayOrder = $displayOrder;
        $this->isPriority = $isPriority;
        $this->syncTimezone = $syncTimezone;

        $this->getLogger()->info('Creating new scheduled command ');
        $response = $this->doPost('/schedule', $this->toArray());
        
        $this->getLogger()->debug('Passing the response to Hydrate ');
        return $this->hydrate($response);
    }
public function createEventCommand($fromDt, $commandId, $displayGroupIds, $recurrenceType, $recurrenceDetail, $recurrenceRange, $displayOrder, $isPriority, $syncTimezone)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->eventTypeId = 2;
        $this->fromDt = $fromDt;
        $this->commandId = $commandId;
        $this->displayGroupIds = $displayGroupIds;
        $this->recurrenceType = $recurrenceType;
        $this->recurrenceDetail = $recurrenceDetail;
        $this->recurrenceRange = $recurrenceRange;
        $this->displayOrder = $displayOrder;
        $this->isPriority = $isPriority;
        $this->syncTimezone = $syncTimezone;

        $this->getLogger()->info('Creating new scheduled command ');
        $response = $this->doPost('/schedule', $this->toArray());
        
        $this->getLogger()->debug('Passing the response to Hydrate ');
        return $this->hydrate($response);
    }
public function createEventCommand ( $ fromDt , $ commandId , $ displayGroupIds , $ recurrenceType , $ recurrenceDetail , $ recurrenceRange , $ displayOrder , $ isPriority , $ syncTimezone ) { $ this -> userId = $ this -> getEntityProvider ( ) -> getMe ( ) -> getId ( ) ; $ this -> eventTypeId = 2 ; $ this -> fromDt = $ fromDt ; $ this -> commandId = $ commandId ; $ this -> displayGroupIds = $ displayGroupIds ; $ this -> recurrenceType = $ recurrenceType ; $ this -> recurrenceDetail = $ recurrenceDetail ; $ this -> recurrenceRange = $ recurrenceRange ; $ this -> displayOrder = $ displayOrder ; $ this -> isPriority = $ isPriority ; $ this -> syncTimezone = $ syncTimezone ; $ this -> getLogger ( ) -> info ( 'Creating new scheduled command ' ) ; $ response = $ this -> doPost ( '/schedule' , $ this -> toArray ( ) ) ; $ this -> getLogger ( ) -> debug ( 'Passing the response to Hydrate ' ) ; return $ this -> hydrate ( $ response ) ; }
Create Command event.

@param string $fromDt the FROM date for this event
@param int $commandId The Command ID to use for this Event
@param array[int] $displayGroupIds Array of display Group IDs for this event, Display specific Display Group IDs should be used to schedule on single displays.
@param string $recurrenceType The type of recurrence to apply to this event, Available values : , Minute, Hour, Day, Week, Month, Year
@param int $recurrenceDetail The interval for the recurrence
@param string $recurrenceRange The end date for this events recurrence
@param int $displayOrder The display order for this event.
@param int $isPriority An integer indicating the priority of this event. Normal events have a priority of 0
@param int $syncTimezone Flag Should this schedule be synced to the resulting Display timezone
@return XiboSchedule
Create Command event .