admin/jsonadm/src/Admin/JsonAdm/Base.php
protected function getIds( $request )
	{
		$ids = [];

		if( isset( $request->data ) )
		{
			foreach( (array) $request->data as $entry )
			{
				if( isset( $entry->id ) ) {
					$ids[] = $entry->id;
				}
			}
		}

		return $ids;
	}
protected function getIds( $request )
	{
		$ids = [];

		if( isset( $request->data ) )
		{
			foreach( (array) $request->data as $entry )
			{
				if( isset( $entry->id ) ) {
					$ids[] = $entry->id;
				}
			}
		}

		return $ids;
	}
protected function getIds ( $ request ) { $ ids = [ ] ; if ( isset ( $ request -> data ) ) { foreach ( ( array ) $ request -> data as $ entry ) { if ( isset ( $ entry -> id ) ) { $ ids [ ] = $ entry -> id ; } } } return $ ids ; }
Returns the IDs sent in the request body

@param \stdClass $request Decoded request body
@return array List of item IDs
Returns the IDs sent in the request body