return max occurs.
public getMaxOccurs ( ) : integer | ||
Результат | integer |
/** * return max occurs. * * @return int */ public function getMaxOccurs() { return $this->property->getMaxOccurs(); }
/** * Return true if property is an array and needs an add button. * * @param $property PropertyInterface * * @return bool */ public function needsAddButtonFunction(PropertyInterface $property) { return $property->getMaxOccurs() > $property->getMinOccurs(); }