You are here

public function QueryPath::val in QueryPath 7.2

Same name and namespace in other branches
  1. 6 QueryPath/QueryPath.php \QueryPath::val()
  2. 7.3 QueryPath/QueryPath.php \QueryPath::val()

File

QueryPath/QueryPath.php, line 1297

Class

QueryPath

Code

public function val($value = NULL) {
  if (isset($value)) {
    $this
      ->attr('value', $value);
    return $this;
  }
  return $this
    ->attr('value');
}