Return an iterator that, when used in a for loop, activates one combination of reindex states per loop, and restores back to the original state at the end
Signature
public function reindex_states([string
$class = NULL,
[boolean
$includeSubclasses = true]] )
Parameters
$class
—
string
- The class name to get variants for
$includeSubclasses
—
boolean
- True if variants should be included if they apply to at least one subclass of $class