protected function checkPropertyStringOrCallable($property, $name)
	{
		if (!is_string($property) && !is_callable($property) && $property !== null) {
			throw new DataGridException(
				"Action {$name} has to be either string or a callback returning string"
			);
		}
	}
protected function checkPropertyStringOrCallable($property, $name)
	{
		if (!is_string($property) && !is_callable($property) && $property !== null) {
			throw new DataGridException(
				"Action {$name} has to be either string or a callback returning string"
			);
		}
	}
protected function checkPropertyStringOrCallable ( $ property , $ name ) { if ( ! is_string ( $ property ) && ! is_callable ( $ property ) && $ property !== null ) { throw new DataGridException ( "Action {$name} has to be either string or a callback returning string" ) ; } }
Check whether given property is string or callable
@param  mixed $property
@return void
@throws DataGridException
Check whether given property is string or callable