public function addEntrySubmit($code, $controlIds = array(), $priority = 5, $inline = false) {
        $entrySubmit = new EntrySubmit();
        $entrySubmit->setCode($code)
                    ->setControlIds($controlIds)
                    ->setPriority($priority)
                    ->setInline($inline);
        $this->builder->addEvent($entrySubmit);
        return $this;
    }
public function addEntrySubmit($code, $controlIds = array(), $priority = 5, $inline = false) {
        $entrySubmit = new EntrySubmit();
        $entrySubmit->setCode($code)
                    ->setControlIds($controlIds)
                    ->setPriority($priority)
                    ->setInline($inline);
        $this->builder->addEvent($entrySubmit);
        return $this;
    }
public function addEntrySubmit ( $ code , $ controlIds = array ( ) , $ priority = 5 , $ inline = false ) { $ entrySubmit = new EntrySubmit ( ) ; $ entrySubmit -> setCode ( $ code ) -> setControlIds ( $ controlIds ) -> setPriority ( $ priority ) -> setInline ( $ inline ) ; $ this -> builder -> addEvent ( $ entrySubmit ) ; return $ this ; }
Adds a EntrySubmit event to the ManiaScript.
@param string $code The code to be executed.
@param array $controlIds The Control IDs by which the code should be executed.
@param int $priority The priority, 0 for most important, bigger for less important.
@param boolean $inline Whether this event is handled inline, i.e. without wrapping function.
@return $this Implementing fluent interface.
Adds a EntrySubmit event to the ManiaScript .