src/Common/CodeIgniter/Libraries/FormValidation.php
public function cdnObjectPickerMultiObjectRequired($aValues)
    {
        $this->set_message(
            'cdnObjectPickerMultiObjectRequired',
            'All items must have a file set.'
        );

        foreach ($aValues as $aValue) {
            if (empty($aValue['object_id'])) {
                return false;
            }
        }

        return true;
    }
public function cdnObjectPickerMultiObjectRequired($aValues)
    {
        $this->set_message(
            'cdnObjectPickerMultiObjectRequired',
            'All items must have a file set.'
        );

        foreach ($aValues as $aValue) {
            if (empty($aValue['object_id'])) {
                return false;
            }
        }

        return true;
    }
public function cdnObjectPickerMultiObjectRequired ( $ aValues ) { $ this -> set_message ( 'cdnObjectPickerMultiObjectRequired' , 'All items must have a file set.' ) ; foreach ( $ aValues as $ aValue ) { if ( empty ( $ aValue [ 'object_id' ] ) ) { return false ; } } return true ; }
Validates that all items within a CDN Object Multi Picker have a label set

@param array $aValues The values from the picker

@return boolean
@todo  provide this from within the CDN module
Validates that all items within a CDN Object Multi Picker have a label set