lithium\data\Schema::is()

public method

Detects properties of a field, i.e. if it supports arrays.

Parameters

  • string $condition
  • string $field

Returns

boolean

Source

	public function is($condition, $field) {
		if (!isset($this->_fields[$field])) {
			return null;
		}
		return isset($this->_fields[$field][$condition]) && $this->_fields[$field][$condition];
	}