public function setValue($val)
    {
        $this->con->executeStep(
            sprintf('_sahi._setValue(%s, %s)', $this->getAccessor(), json_encode($val))
        );
    }
public function setValue($val)
    {
        $this->con->executeStep(
            sprintf('_sahi._setValue(%s, %s)', $this->getAccessor(), json_encode($val))
        );
    }
public function setValue ( $ val ) { $ this -> con -> executeStep ( sprintf ( '_sahi._setValue(%s, %s)' , $ this -> getAccessor ( ) , json_encode ( $ val ) ) ) ; }
Set text value.

@param string $val value
Set text value .