src/DataContainer.php
public function set($key, $value = null, $filter = null)
	{
		parent::set($key, $value);

		if (is_array($key))
		{
			if (is_bool($value))
			{
				$filter = $value;
			}

			foreach ($key as $_key => $_value)
			{
				$this->filterIndex[$_key] = $filter;
			}
		}
		else
		{
			$this->filterIndex[$key] = $filter;
		}

		return $this;
	}
public function set($key, $value = null, $filter = null)
	{
		parent::set($key, $value);

		if (is_array($key))
		{
			if (is_bool($value))
			{
				$filter = $value;
			}

			foreach ($key as $_key => $_value)
			{
				$this->filterIndex[$_key] = $filter;
			}
		}
		else
		{
			$this->filterIndex[$key] = $filter;
		}

		return $this;
	}
public function set ( $ key , $ value = null , $ filter = null ) { parent :: set ( $ key , $ value ) ; if ( is_array ( $ key ) ) { if ( is_bool ( $ value ) ) { $ filter = $ value ; } foreach ( $ key as $ _key => $ _value ) { $ this -> filterIndex [ $ _key ] = $ filter ; } } else { $ this -> filterIndex [ $ key ] = $ filter ; } return $ this ; }
Sets view data

@param string|array $key
@param mixed        $value
@param boolean      $filter

@return $this
Sets view data