method hasData documentation in bbn\Mvc\Model

Checks if data exists or if a specific index exists in the data

function($idx = NULL, $check_empty = false) { if (!\is_array($this->data)) { return false; } if (\is_null($idx)) { return !empty($this->data); } return X::hasProps($this->data, (array)$idx, $check_empty); }

Checks if data exists or if a specific index exists in the data BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.