You are here

public function QueryPath::val in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \QueryPath::val()
  2. 7.2 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');
}