Back to TableInterface class

Method hasField

public bool
hasField
(mixed $key)
Check if the record has a property (applying a column alias if it exists)
Parameters
  • string $key key to be checked
Returns
  • bool
Since
  • 4.0.0

Method hasField - Source code

/**
 * Check if the record has a property (applying a column alias if it exists)
 *
 * @param   string  $key  key to be checked
 *
 * @return  boolean
 *
 * @since   4.0.0
 */
public function hasField($key);