Example #1
0
 /**
  * @param array $userInput
  * @return bool
  */
 public function isEmpty($userInput)
 {
     return parent::isEmpty($userInput) || CM_FormField_Abstract::isEmpty($userInput['z']);
 }
Example #2
0
 /**
  * @param array $userInput
  * @return bool
  */
 public function isEmpty($userInput)
 {
     return parent::isEmpty($userInput['x']) || parent::isEmpty($userInput['y']);
 }