src/Easy/Element/Element.php
public function setFormName($formName, $elemName)
    {
        $this->_formName = $formName;
        $this->_elemName = $elemName;
        if (strpos($this->function, "js:")===0)
            return;
        // if no class name, add default class name. i.e. NewRecord => ObjName.NewRecord
        if ($this->function)
        {
            $pos_dot = strpos($this->function, ".");
            $pos_lpt = strpos($this->function, "(");
            if (!$pos_dot || $pos_lpt < $pos_dot)
                $this->function = $this->_formName.".".$this->function;
        }
        $this->translate();	// translate for multi-language support
    }
public function setFormName($formName, $elemName)
    {
        $this->_formName = $formName;
        $this->_elemName = $elemName;
        if (strpos($this->function, "js:")===0)
            return;
        // if no class name, add default class name. i.e. NewRecord => ObjName.NewRecord
        if ($this->function)
        {
            $pos_dot = strpos($this->function, ".");
            $pos_lpt = strpos($this->function, "(");
            if (!$pos_dot || $pos_lpt < $pos_dot)
                $this->function = $this->_formName.".".$this->function;
        }
        $this->translate();	// translate for multi-language support
    }
Set form name that contain element and EventHandler

@param string $formName
@param string $elemName
@return void